[poppler] CMakeLists.txt

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 29 13:56:03 UTC 2020


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

New commits:
commit b4c83738d82ba0d34b050dc4e4cfec53fe02fcdd
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Oct 29 14:51:00 2020 +0100

    cmake: Enable CMAKE_LINK_DEPENDS_NO_SHARED
    
    No need to relink libraries just because the .so it depends on has been
    rebuilt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0361f34..ae82eebb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,8 +43,9 @@ 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_EXTENSIONS OFF)
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_EXTENSIONS OFF)
+set(CMAKE_LINK_DEPENDS_NO_SHARED TRUE)
 
 # command line switches
 option(ENABLE_UNSTABLE_API_ABI_HEADERS "Install API/ABI unstable xpdf headers." OFF)


More information about the poppler mailing list