mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 02:07:51 +08:00
21 lines
703 B
Diff
21 lines
703 B
Diff
|
--- 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}")
|
||
|
|