[SDK] Make sure we build pefixup with AMD64 definitions

This commit is contained in:
Jérôme Gardou 2021-04-09 19:21:25 +02:00 committed by Jérôme Gardou
parent b513c61cd1
commit 1d1a21a920

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()