Skip to content

Commit

Permalink
Set Linux and QNX to C++17 in accordance with iceoryx build (ros2#105)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
  • Loading branch information
mossmaurice committed Jan 8, 2024
1 parent bd584c2 commit adb1e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmw_iceoryx_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ endif()
# Set C++ standard in accordance with iceoryx
# https://github.com/eclipse-iceoryx/iceoryx/blob/v2.0.3/iceoryx_hoofs/cmake/IceoryxPlatform.cmake#L26-L38
if(LINUX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
elseif(QNX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
elseif(WIN32)
set(CMAKE_CXX_STANDARD 17)
elseif(APPLE)
Expand Down

0 comments on commit adb1e4f

Please sign in to comment.