Added flag "-std=c++11" so that system would compile with gcc

release/4.3a0
Alex Cunningham 2013-08-06 17:50:45 +00:00
parent 69d87d2de3
commit cfcb27802a
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ include_directories(BEFORE
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
add_definitions(/wd4251 /wd4275 /wd4251 /wd4661) # Disable non-DLL-exported base class and other warnings
else()
# list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
endif()
if(GTSAM_ENABLE_CONSISTENCY_CHECKS)