Skip to content

Commit

Permalink
Update to C++17 (#278)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Aug 8, 2023
1 parent 60da37d commit d9397f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qt_gui_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
cmake_minimum_required(VERSION 3.12)
project(qt_gui_cpp)

# Default to C++14
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()

find_package(ament_cmake REQUIRED)
Expand Down

0 comments on commit d9397f1

Please sign in to comment.