Skip to content

Commit

Permalink
Drop enforcement of C++ version.
Browse files Browse the repository at this point in the history
C++17 is the default in Ubuntu Jammy and later.
  • Loading branch information
rhaschke committed Sep 9, 2024
1 parent 87ef1b8 commit 338eed5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
cmake_minimum_required(VERSION 3.8)
project(srdfdom LANGUAGES CXX)

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

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
Expand Down

0 comments on commit 338eed5

Please sign in to comment.