From 8a9ac183e6327415c37fc36643b52b3b38fd312a Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Mon, 20 Aug 2018 09:33:07 -0700 Subject: [PATCH] set CMAKE_CXX_STANDARD --- rosapi/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rosapi/CMakeLists.txt b/rosapi/CMakeLists.txt index 385816fc3..9234e8f0c 100644 --- a/rosapi/CMakeLists.txt +++ b/rosapi/CMakeLists.txt @@ -5,6 +5,10 @@ find_package(ament_cmake_ros REQUIRED) find_package(builtin_interfaces REQUIRED) find_package(rosidl_default_generators REQUIRED) +if(NOT CMAKE_CXX_STANDARD) + set(CMAKE_CXX_STANDARD 14) +endif() + ament_python_install_package( ${PROJECT_NAME} PACKAGE_DIR "src/${PROJECT_NAME}")