2023-02-11 02:48:00 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 95ebe36..658c5e1 100644
|
2022-04-30 02:40:30 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-02-11 02:48:00 +08:00
|
|
|
@@ -25,6 +25,11 @@ project(
|
2022-04-30 02:40:30 +08: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")
|
|
|
|
|