diff options
Diffstat (limited to 'extern')
-rw-r--r-- | extern/gflags/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extern/gflags/CMakeLists.txt b/extern/gflags/CMakeLists.txt index 4f2fce3778b..63749aad46d 100644 --- a/extern/gflags/CMakeLists.txt +++ b/extern/gflags/CMakeLists.txt @@ -3,9 +3,7 @@ # Too noisy for code we don't maintain. if(CMAKE_COMPILER_IS_GNUCC) - if(NOT "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "8.0") - add_cxx_flag("-Wno-cast-function-type") - endif() + add_cxx_flag("-Wno-cast-function-type") endif() set(INC |