From 094cc1d2f3a0b789edcbd6b4848a5305d9e64a15 Mon Sep 17 00:00:00 2001 From: Benoit TAPIA Date: Mon, 21 Oct 2024 21:42:39 +0200 Subject: [PATCH] fix: fix C++17 build --- CMakeLists.txt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f999658f..f2815dc21 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")