summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5106812..619bcc7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,6 +43,9 @@ include("${CMAKE_MODULE_PATH}/BinaryExists.cmake")
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
set(CMAKE_SYSTEM_PROCESSOR "x86")
endif()
+if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386")
+ set(CMAKE_SYSTEM_PROCESSOR "x86")
+endif()
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
set(CMAKE_SYSTEM_PROCESSOR "x86")
endif()