Skip to content

Commit 60f6606

Browse files
committed
cmake: add /bigobj on MSVC
Debug builds fail without it, and maybe Release would in the future, so just always set it.
1 parent 854ea1f commit 60f6606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WickedEngine/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ add_library(${TARGET_NAME} ${WICKED_LIBRARY_TYPE}
7070
)
7171

7272
if(MSVC)
73-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
73+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /bigobj")
7474
endif()
7575

7676
add_library(WickedEngine ALIAS ${TARGET_NAME})

0 commit comments

Comments
 (0)