2023-02-10 10:48:00 -08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 95ebe36..658c5e1 100644
|
2022-04-29 11:40:30 -07:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-02-10 10:48:00 -08:00
|
|
|
@@ -25,6 +25,11 @@ project(
|
2022-04-29 11:40:30 -07:00
|
|
|
HOMEPAGE_URL "https://libcopp.atframe.work"
|
|
|
|
LANGUAGES C CXX ASM)
|
|
|
|
|
|
|
|
+# libcopp requires x86 to be called i386
|
|
|
|
+if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
|
|
|
|
+ set(CMAKE_SYSTEM_PROCESSOR i386)
|
|
|
|
+endif()
|
|
|
|
+
|
|
|
|
# ######################################################################################################################
|
|
|
|
include("${PROJECT_SOURCE_DIR}/project/cmake/ProjectBuildOption.cmake")
|
|
|
|
|