[poppler] cmake/modules
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 2 17:08:52 UTC 2020
cmake/modules/PopplerMacros.cmake | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 3ea3ad26bca27bd78f753f4296d4a544ed666e60
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Dec 2 18:02:19 2020 +0100
cmake: We don't support gcc < 5 anymore
diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake
index 707e7497..fe1182da 100644
--- a/cmake/modules/PopplerMacros.cmake
+++ b/cmake/modules/PopplerMacros.cmake
@@ -94,9 +94,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(_warn "${_warn} -Wundef")
set(_warn "${_warn} -Wzero-as-null-pointer-constant")
set(_warn "${_warn} -Wshadow")
- if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0")
- set(_warn "${_warn} -Wsuggest-override")
- endif()
+ set(_warn "${_warn} -Wsuggest-override")
# set extra warnings
set(_warnx "${_warnx} -Wconversion")
More information about the poppler
mailing list