[SDK] Make sure we build pefixup with AMD64 definitions

This commit is contained in:
Jérôme Gardou
2021-04-28 13:10:23 +02:00
committed by Jérôme Gardou
parent b513c61cd1
commit 1d1a21a920
+3
View File
@@ -40,5 +40,8 @@ if(NOT MSVC)
add_subdirectory(rsym)
add_host_tool(pefixup pefixup.c)
if (ARCH STREQUAL "amd64")
target_compile_definitions(pefixup PRIVATE _TARGET_PE64)
endif()
target_link_libraries(pefixup PRIVATE host_includes)
endif()