Skip to content

Commit

Permalink
Fix Zydis include file casing (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank authored May 5, 2024
1 parent fd2a88f commit 99e061c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 99e061c

Please sign in to comment.