Fixed CMake file

This commit is contained in:
flobernd 2017-01-11 11:51:18 +01:00
parent c0528d5cb0
commit 9804bf1d3e
1 changed files with 1 additions and 3 deletions

View File

@ -51,7 +51,6 @@ set(headers
"include/Zydis/Decoder.h"
"include/Zydis/Defines.h"
"include/Zydis/Formatter.h"
"include/Zydis/Input.h"
"include/Zydis/InstructionInfo.h"
"include/Zydis/Mnemonic.h"
"include/Zydis/Register.h"
@ -63,7 +62,6 @@ set(headers
set(sources
"src/Decoder.c"
"src/Formatter.c"
"src/Input.c"
"src/InstructionTable.c"
"src/Mnemonic.c"
"src/Register.c"
@ -86,7 +84,7 @@ if (ZYDIS_FEATURE_AFFECTED_FLAGS)
target_compile_definitions("Zydis" PRIVATE "ZYDIS_ENABLE_FEATURE_AFFECTED_FLAGS")
endif ()
if (ZYDIS_FEATURE_CPUID)
target_compile_definitions("Zydis" PRIVATE "ZYDIS_ENABLE__FEATURE_CPUID")
target_compile_definitions("Zydis" PRIVATE "ZYDIS_ENABLE_FEATURE_CPUID")
endif ()
# Examples