Skip to content

Commit 7467a03

Browse files
committed
set CMAKE_CXX_STANDARD
1 parent 19ed82f commit 7467a03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rosapi/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ find_package(ament_cmake_ros REQUIRED)
55
find_package(builtin_interfaces REQUIRED)
66
find_package(rosidl_default_generators REQUIRED)
77

8+
if(NOT CMAKE_CXX_STANDARD)
9+
set(CMAKE_CXX_STANDARD 14)
10+
endif()
11+
812
ament_python_install_package(
913
${PROJECT_NAME} PACKAGE_DIR "src/${PROJECT_NAME}")
1014

0 commit comments

Comments
 (0)