diff --git a/CMakeLists.txt b/CMakeLists.txt index 8645eafb..1e0ab079 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ endif() if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") set(ARCH "x86_64") +elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64") + set(ARCH "x86_64") elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") # cmake reports AMD64 on Windows, but we might be building for 32-bit. if (CMAKE_CL_64) @@ -21,6 +23,8 @@ elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") endif() elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86") set(ARCH "x86") +elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386") + set(ARCH "x86") elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm") set(ARCH "arm") else()