diff --git a/CMakeLists.txt b/CMakeLists.txt index 65f3c73..ed08805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,10 +209,10 @@ endif() #DisAsm/Zydis if (POLYHOOK_USE_EXTERNAL_ZYDIS) - find_library(ZYDIS_LIBRARY NAMES zydis) - find_library(ZYCORE_LIBRARY NAMES zycore) - find_path(ZYDIS_INCLUDE_DIR NAMES zydis/zydis.h) - find_path(ZYCORE_INCLUDE_DIR NAMES zycore/zycore.h) + find_library(ZYDIS_LIBRARY NAMES Zydis) + find_library(ZYCORE_LIBRARY NAMES Zycore) + find_path(ZYDIS_INCLUDE_DIR NAMES Zydis/Zydis.h) + find_path(ZYCORE_INCLUDE_DIR NAMES Zycore/Zycore.h) target_link_libraries(${PROJECT_NAME} PUBLIC ${ZYDIS_LIBRARY}) target_link_libraries(${PROJECT_NAME} PUBLIC ${ZYCORE_LIBRARY}) target_include_directories(${PROJECT_NAME} PUBLIC ${ZYDIS_INCLUDE_DIR})