Ubuntu 12.04 an g2o, fixed -std=c++11 error

This commit is contained in:
matlabbe
2015-12-01 11:51:59 -05:00
parent 38fd459c7b
commit 4e9ba66555
3 changed files with 19 additions and 3 deletions

View File

@@ -153,8 +153,6 @@ IF(G2O_FOUND)
${LIBRARIES}
${G2O_LIBRARIES}
)
#Newest versions require std11
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
SET(SRC_FILES
${SRC_FILES}