Skip to content

Commit 4585605

Browse files
committed
Update packages to C++17
Signed-off-by: Audrow Nash <audrow@hey.com>
1 parent cf55610 commit 4585605

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rclcpp_action/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ find_package(rclcpp REQUIRED)
88
find_package(rcl_action REQUIRED)
99
find_package(rosidl_runtime_c REQUIRED)
1010

11-
# Default to C++14
11+
# Default to C++17
1212
if(NOT CMAKE_CXX_STANDARD)
13-
set(CMAKE_CXX_STANDARD 14)
13+
set(CMAKE_CXX_STANDARD 17)
1414
endif()
1515
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1616
add_compile_options(

rclcpp_components/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5)
22

33
project(rclcpp_components)
44

5-
# Default to C++14
5+
# Default to C++17
66
if(NOT CMAKE_CXX_STANDARD)
7-
set(CMAKE_CXX_STANDARD 14)
7+
set(CMAKE_CXX_STANDARD 17)
88
endif()
99
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1010
add_compile_options(

rclcpp_lifecycle/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5)
22

33
project(rclcpp_lifecycle)
44

5-
# Default to C++14
5+
# Default to C++17
66
if(NOT CMAKE_CXX_STANDARD)
7-
set(CMAKE_CXX_STANDARD 14)
7+
set(CMAKE_CXX_STANDARD 17)
88
endif()
99
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1010
add_compile_options(-Wall -Wextra -Wpedantic -Wnon-virtual-dtor -Woverloaded-virtual)

0 commit comments

Comments
 (0)