[poppler] CMakeLists.txt

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 26 22:55:38 UTC 2021


 CMakeLists.txt |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c11fbf5a732a041a26359dc7fef103ac44a2346f
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jun 27 00:47:48 2021 +0200

    cmake: set C standard to 11 without extensions

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62fcc529..215283dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,8 @@ set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION_STRING}.${
 
 set(CMAKE_CXX_STANDARD 14)
 set(CMAKE_CXX_EXTENSIONS OFF)
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_C_EXTENSIONS OFF)
 set(CMAKE_LINK_DEPENDS_NO_SHARED TRUE)
 set(CMAKE_C_VISIBILITY_PRESET hidden)
 set(CMAKE_CXX_VISIBILITY_PRESET hidden)


More information about the poppler mailing list