[poppler] CMakeLists.txt

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Aug 27 10:52:47 UTC 2017


 CMakeLists.txt |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 13cf327cd512ebc26c8bd31cdd80d61027634bcb
Author: Albert Astals Cid <aacid at kde.org>
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)


More information about the poppler mailing list