diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b9257366..a54ef0283 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -176,8 +176,8 @@ else () message (STATUS "INFO - Override arch is ${DETECTED_ARCH}") endif() -if (DETECTED_ARCH STREQUAL "i586" OR DETECTED_ARCH STREQUAL "x86_64" - OR DETECTED_ARCH STREQUAL "i386") +if (DETECTED_ARCH STREQUAL "i686" OR DETECTED_ARCH STREQUAL "i586" + OR DETECTED_ARCH STREQUAL "x86_64" OR DETECTED_ARCH STREQUAL "i386") set (X86PLAT ON) elseif (DETECTED_ARCH MATCHES "arm.*" OR DETECTED_ARCH MATCHES "aarch64") set (ARMPLAT ON)