vcpkg/ports/json-spirit/Fix-link-error-C1128.patch
LarryIII 25e8a482a8 [json-spirit] Fix link error C1128 (#5263)
* [json-spirit] Fix link error C1128

* Update patch file
2019-02-01 11:12:29 -08:00

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)