Skip to content

Commit

Permalink
Merge branch '1-cartographer-being-built-with-c++11-on-newer-versions…
Browse files Browse the repository at this point in the history
…-of-cmake-1' into 'humble'

Resolve "Cartographer being built with c++11 on newer versions of CMake"

Closes #1

See merge request mtdi/pi9419/boeing/cartographer!3
  • Loading branch information
InigoMoreno committed May 10, 2023
2 parents 5b75bcf + ddfd1dc commit bcc604c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ macro(google_initialize_cartographer_project)
if(WIN32)
# TODO turn on equivalent warnings on Windows
else()
set(GOOG_CXX_FLAGS "-pthread -std=c++11 -fPIC ${GOOG_CXX_FLAGS}")
set(GOOG_CXX_FLAGS "-pthread -std=c++17 -fPIC ${GOOG_CXX_FLAGS}")

google_add_flag(GOOG_CXX_FLAGS "-Wall")
google_add_flag(GOOG_CXX_FLAGS "-Wpedantic")
Expand Down

0 comments on commit bcc604c

Please sign in to comment.