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
JOSE LUIS BLANCO CLARACO 2018-11-27 15:30:29 +00:00
parent 0e679b8b97
commit 67d87cb2bd
1 changed files with 0 additions and 9 deletions

View File

@ -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