[poppler] CMakeLists.txt

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Jul 29 16:19:12 UTC 2017


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

New commits:
commit 852fd28674e14f25c6902c0adab19909f73f2632
Author: David Faure <faure at kde.org>
Date:   Sat Jul 29 18:18:23 2017 +0200

    Set RUNPATH for poppler shared libs
    
    Bug #101945

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 98d23a61..576b1f9f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,6 +55,8 @@ endif(WIN32)
 set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
 set(SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Share directory name")
 
+set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
 set(TESTDATADIR "${CMAKE_SOURCE_DIR}/../test" CACHE STRING "Specify test data dir.")
 if(NOT (EXISTS ${TESTDATADIR} AND EXISTS ${TESTDATADIR}/test-poppler.c))
   message(WARNING "


More information about the poppler mailing list