Skip to content

Commit

Permalink
Merge pull request #28 from ros-planning/clalancette/update-to-c++17
Browse files Browse the repository at this point in the history
Update to C++17
  • Loading branch information
SteveMacenski authored Nov 12, 2023
2 parents cc3a862 + 6c83cd1 commit fb66011
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions map_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ cmake_minimum_required(VERSION 3.5)

project(map_msgs)

# Default to C++14
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
Expand Down

0 comments on commit fb66011

Please sign in to comment.