20 lines
703 B
Diff
Executable file
20 lines
703 B
Diff
Executable file
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -11,12 +11,17 @@
|
|
libcopp
|
|
VERSION "1.4.1"
|
|
DESCRIPTION "Cross-platform coroutine library in C++ ."
|
|
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")
|
|
|
|
# # #############################################################################
|
|
echowithcolor(COLOR GREEN "-- Build Type: ${CMAKE_BUILD_TYPE}")
|
|
|