make bigobj a linker flag?

This commit is contained in:
Lion Kortlepel
2022-02-17 12:00:03 +01:00
parent 687b4e4235
commit 8ce3be03a3
+1 -1
View File
@@ -45,7 +45,7 @@ set(SENTRY_BACKEND breakpad)
add_subdirectory("deps/sentry-native") add_subdirectory("deps/sentry-native")
if (MSVC) if (MSVC)
add_definitions(/bigobj) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /bigobj")
endif () endif ()
message(STATUS "Setting compiler flags") message(STATUS "Setting compiler flags")