pineapple-src/externals/vcpkg/ports/json-spirit/Fix-link-error-C1128.patch

16 lines
355 B
Diff
Raw Normal View History

2022-07-23 01:01:36 +00:00
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)