|
|
@ -65,6 +65,7 @@ function(detect_architecture symbol arch)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endfunction()
|
|
|
|
endfunction()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (NOT ENABLE_GENERIC)
|
|
|
|
if (MSVC)
|
|
|
|
if (MSVC)
|
|
|
|
detect_architecture("_M_AMD64" x86_64)
|
|
|
|
detect_architecture("_M_AMD64" x86_64)
|
|
|
|
detect_architecture("_M_IX86" x86)
|
|
|
|
detect_architecture("_M_IX86" x86)
|
|
|
@ -74,6 +75,7 @@ else()
|
|
|
|
detect_architecture("__i386__" x86)
|
|
|
|
detect_architecture("__i386__" x86)
|
|
|
|
detect_architecture("__arm__" ARM)
|
|
|
|
detect_architecture("__arm__" ARM)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
endif()
|
|
|
|
if (NOT DEFINED ARCHITECTURE)
|
|
|
|
if (NOT DEFINED ARCHITECTURE)
|
|
|
|
set(ARCHITECTURE "GENERIC")
|
|
|
|
set(ARCHITECTURE "GENERIC")
|
|
|
|
set(ARCHITECTURE_GENERIC 1)
|
|
|
|
set(ARCHITECTURE_GENERIC 1)
|
|
|
|