From 67d87cb2bd1844a1a8342f26b068fb60bdd4b4f9 Mon Sep 17 00:00:00 2001 From: JOSE LUIS BLANCO CLARACO Date: Tue, 27 Nov 2018 15:30:29 +0000 Subject: [PATCH] Remove /bigobj flag here (it's already enabled in parent scope) Already defined here: https://bitbucket.org/gtborg/gtsam/src/0e679b8b97a600c30debf64b1de20a9c47e06d20/CMakeLists.txt#lines-334 This was also causing build errors due to a missing whitespace between cl parameters. --- gtsam/CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gtsam/CMakeLists.txt b/gtsam/CMakeLists.txt index 8900ea86b..a6814a422 100644 --- a/gtsam/CMakeLists.txt +++ b/gtsam/CMakeLists.txt @@ -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