Skip to content

Commit

Permalink
Enfore C++17
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Feb 3, 2024
1 parent 4f2eaa6 commit acdee6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion grid_map/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)
project(grid_map)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
endif()

find_package(ament_cmake REQUIRED)
Expand Down
1 change: 0 additions & 1 deletion grid_map_cmake_helpers/cmake/grid_map_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ macro(grid_map_package)
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
Expand Down

0 comments on commit acdee6e

Please sign in to comment.