mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 04:29:20 +08:00
17 lines
547 B
Diff
17 lines
547 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 95ebe36..658c5e1 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -25,6 +25,11 @@ project(
|
|
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")
|
|
|