Skip to content

Commit

Permalink
fix: fix C++17 build
Browse files Browse the repository at this point in the history
  • Loading branch information
tapiab committed Oct 21, 2024
1 parent e10104b commit 094cc1d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,6 @@ ENDIF ()

## Flags

### Warnings

IF (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")

IF (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13)

MESSAGE (FATAL_ERROR "GCC version must be at least 13")

ENDIF ()

SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Wshadow -Wno-deprecated")

ENDIF ()

### C++ 17/20 support

IF (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
Expand Down

0 comments on commit 094cc1d

Please sign in to comment.