mirror of https://github.com/FreeRDP/FreeRDP
Mac: detect x64 macs
This is needed so WITH_SSE2 is turned on automatically.
This commit is contained in:
parent
faae3922b7
commit
3c7a486898
|
@ -3,6 +3,9 @@ if((CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|x86") AND (CMAKE_SIZEOF_VOID_P EQU
|
|||
set(TARGET_ARCH "x86")
|
||||
elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64") AND (CMAKE_SIZEOF_VOID_P EQUAL 8))
|
||||
set(TARGET_ARCH "x64")
|
||||
elseif((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (APPLE))
|
||||
# Mac is weird like that.
|
||||
set(TARGET_ARCH "x64")
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
|
||||
set(TARGET_ARCH "ARM")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue