Skip to content

Commit

Permalink
fix: fix C++17 build (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: Benoit TAPIA <[email protected]>
  • Loading branch information
tapiab and tapiab-loft authored Oct 4, 2024
1 parent abf24a4 commit 69af34c
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 @@ -113,20 +113,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 69af34c

Please sign in to comment.