mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
25e8a482a8
* [json-spirit] Fix link error C1128 * Update patch file
16 lines
355 B
Diff
16 lines
355 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 24b1caf..2aac0b0 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -60,7 +60,9 @@ endif()
|
|
|
|
message(${CMAKE_INSTALL_INCLUDEDIR})
|
|
|
|
-
|
|
+if(MSVC)
|
|
+add_definitions(/bigobj)
|
|
+endif()
|
|
set(CPACK_PACKAGE_VERSION_MAJOR 4)
|
|
set(CPACK_PACKAGE_VERSION_MINOR 0)
|
|
set(CPACK_PACKAGE_VERSION_PATCH 8)
|