Skip to content

Commit

Permalink
set CMAKE_CXX_STANDARD
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 20, 2018
1 parent 1b586a6 commit 8a9ac18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rosapi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 8a9ac18

Please sign in to comment.