[poppler] CMakeLists.txt

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Dec 15 16:53:40 UTC 2018


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

New commits:
commit 641312cb67c9f31188367323ea186f40cbb103e5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Dec 13 22:41:27 2018 +0100

    Make it more obvious that XPDF headers have unstable API/ABI

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8131eb6..b9d1dfb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,7 +44,7 @@ set (CMAKE_CXX_STANDARD 14)
 set (CMAKE_CXX_EXTENSIONS OFF)
 
 # command line switches
-option(ENABLE_XPDF_HEADERS "Install unsupported xpdf headers." OFF)
+option(ENABLE_UNSTABLE_API_ABI_HEADERS "Install API/ABI unstable xpdf headers." OFF)
 option(BUILD_GTK_TESTS "Whether compile the GTK+ test programs." ON)
 option(BUILD_QT5_TESTS "Whether compile the Qt5 test programs." ON)
 option(BUILD_CPP_TESTS "Whether compile the CPP test programs." ON)
@@ -495,7 +495,7 @@ if(CMAKE_USE_PTHREADS_INIT)
 endif()
 install(TARGETS poppler RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
 
-if(ENABLE_XPDF_HEADERS)
+if(ENABLE_UNSTABLE_API_ABI_HEADERS)
   install(FILES
     poppler/Annot.h
     poppler/Array.h


More information about the poppler mailing list