mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +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")
|
set(CPACK_PACKAGE_VENDOR "Leon Styhre")
|
||||||
|
|
||||||
# Use the shorter x64 descriptor for the x86_64/AMD64 architecture.
|
# 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)
|
set(CPU_ARCHITECTURE x64)
|
||||||
else()
|
else()
|
||||||
set(CPU_ARCHITECTURE ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
set(CPU_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Settings per operating system and generator type.
|
# Settings per operating system and generator type.
|
||||||
|
|
Loading…
Reference in a new issue