CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 13cf327cd512ebc26c8bd31cdd80d61027634bcb
Author: Albert Astals Cid <[email protected]>
Date: Sun Aug 27 12:51:19 2017 +0200
cmake: Use -std=c++11 instead of -std=gnu++11
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03ef1db5..3208f532 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,7 @@ set(POPPLER_MICRO_VERSION "0")
set(POPPLER_VERSION
"${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
set (CMAKE_CXX_STANDARD 11)
+set (CMAKE_CXX_EXTENSIONS OFF)
# command line switches
option(ENABLE_XPDF_HEADERS "Install unsupported xpdf headers." OFF)
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler