Skip to content

Commit

Permalink
remove the globally defined C++ standard. this should and is already …
Browse files Browse the repository at this point in the history
…set per target using target_compile_features().
  • Loading branch information
jakoch committed Jul 1, 2024
1 parent d1e2f29 commit 1718227
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
Expand Up @@ -114,11 +114,6 @@ endif()
# Compiler flags
# ==================================================================================================

# Define C++ Standard to use
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS ON)

if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")

message(STATUS "\n-- Compiler and platform toolset:\n")
Expand Down

0 comments on commit 1718227

Please sign in to comment.