CMakeLists: Remove detection of 32-bit platforms

We currently have no plans to add 32-bit host architecture support, so
we don't even need to check for these platforms.
This commit is contained in:
Lioncash 2019-05-04 00:04:11 -04:00 committed by MerryMage
parent 3a9c2f81d0
commit 750ceb9701

View file

@ -92,13 +92,9 @@ endif()
include(DetectArchitecture) include(DetectArchitecture)
if (MSVC) if (MSVC)
detect_architecture("_M_AMD64" x86_64) detect_architecture("_M_AMD64" x86_64)
detect_architecture("_M_IX86" x86)
detect_architecture("_M_ARM" ARM)
detect_architecture("_M_ARM64" Aarch64) detect_architecture("_M_ARM64" Aarch64)
else() else()
detect_architecture("__x86_64__" x86_64) detect_architecture("__x86_64__" x86_64)
detect_architecture("__i386__" x86)
detect_architecture("__arm__" ARM)
detect_architecture("__aarch64__" Aarch64) detect_architecture("__aarch64__" Aarch64)
endif() endif()
if (NOT DEFINED ARCHITECTURE) if (NOT DEFINED ARCHITECTURE)