17 lines
589 B
Diff
17 lines
589 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 21bebddbb1..956de85b13 100644
|
|
--- CMakeLists.txt
|
|
+++ CMakeLists.txt
|
|
@@ -197,12 +197,6 @@ perform_feature_checks()
|
|
if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|
include(CheckCXXCompilerFlag)
|
|
|
|
- CHECK_CXX_COMPILER_FLAG("-Wsuggest-override" COMPILER_SUPPORTS_WSUGGEST_OVERRIDE)
|
|
-
|
|
- if(COMPILER_SUPPORTS_WSUGGEST_OVERRIDE)
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsuggest-override")
|
|
- endif()
|
|
-
|
|
CHECK_CXX_COMPILER_FLAG("-Wvla" COMPILER_SUPPORTS_WVLA)
|
|
|
|
if(COMPILER_SUPPORTS_WVLA)
|