Make TARGET_ARCH persistent.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-21 15:34:17 -03:00
parent 93d4197bd2
commit a5d9089b0c
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF

View file

@ -51,9 +51,9 @@ if (WIN32)
}" HAVE_X64) }" HAVE_X64)
if (HAVE_X64) if (HAVE_X64)
set(TARGET_ARCH x64) set(TARGET_ARCH x64 CACHE INTERNAL "")
else () else ()
set(TARGET_ARCH x86) set(TARGET_ARCH x86 CACHE INTERNAL "")
endif() endif()
add_definitions(-DUNICODE -D_UNICODE) add_definitions(-DUNICODE -D_UNICODE)