[poppler] CMakeLists.txt
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 1 10:06:55 UTC 2021
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3f8b9e92aade630b90943fd3936bdaa089e0603d
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Sep 26 19:22:12 2021 +0200
Increase C++ standard to 17
And make it required
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f5ecfcea..1f2e25ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,7 +53,8 @@ string(REGEX REPLACE "^0?(.+)$" "\\1" POPPLER_MINOR_VERSION "${POPPLER_MINOR_VER
set(POPPLER_MICRO_VERSION "0")
set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION_STRING}.${POPPLER_MICRO_VERSION}")
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_EXTENSIONS OFF)
More information about the poppler
mailing list