pineapple/externals/vcpkg/ports/json-spirit/Fix-link-error-C1128.patch
2022-07-23 03:01:36 +02:00

15 lines
355 B
Diff
Executable file

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)