mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
(Windows) Changed CMAKE_HOST_SYSTEM_PROCESSOR to CMAKE_SYSTEM_PROCESSOR.
This commit is contained in:
parent
270351b033
commit
70e8b9b750
|
@ -273,10 +273,10 @@ endif()
|
|||
set(CPACK_PACKAGE_VENDOR "Leon Styhre")
|
||||
|
||||
# Use the shorter x64 descriptor for the x86_64/AMD64 architecture.
|
||||
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_HOST_SYSTEM_PROCESSOR MATCHES AMD64)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR MATCHES AMD64)
|
||||
set(CPU_ARCHITECTURE x64)
|
||||
else()
|
||||
set(CPU_ARCHITECTURE ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
||||
set(CPU_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
|
||||
endif()
|
||||
|
||||
# Settings per operating system and generator type.
|
||||
|
|
Loading…
Reference in a new issue