Remove /bigobj flag here (it's already enabled in parent scope)
Already defined here: 0e679b8b97/CMakeLists.txt (lines-334)
This was also causing build errors due to a missing whitespace between cl parameters.
release/4.3a0
parent
0e679b8b97
commit
67d87cb2bd
|
@ -146,15 +146,6 @@ else()
|
|||
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-Wno-error")
|
||||
endif()
|
||||
|
||||
# Special cases
|
||||
if(MSVC)
|
||||
set_property(SOURCE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/slam/serialization.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/nonlinear/ISAM2.cpp"
|
||||
APPEND PROPERTY COMPILE_FLAGS "/bigobj")
|
||||
endif()
|
||||
|
||||
|
||||
# Create the matlab toolbox for the gtsam library
|
||||
if (GTSAM_INSTALL_MATLAB_TOOLBOX)
|
||||
# Set up codegen
|
||||
|
|
Loading…
Reference in New Issue