add /bigobj to compile options for visual studio

This commit is contained in:
Alexandra Heuschling
2021-01-19 17:05:41 +01:00
parent cc75d6a040
commit 28c71fec82

View File

@@ -44,7 +44,10 @@ else ()
acg_add_library (OpenMeshCore SHAREDANDSTATIC ${sources} ${headers})
set_target_properties (OpenMeshCore PROPERTIES VERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR}
SOVERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR} )
endif ()
if (MSVC)
target_compile_options(OpenMeshCore PRIVATE /bigobj)
endif ()
# Add core as dependency before fixbundle