Remove custom library search path (RPATH/RUNPATH)
authorAnthony Fok <foka@debian.org>
Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)
committerAnthony Fok <foka@debian.org>
Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)
Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-18

This reverts upstream's preference of setting RPATH/RUNPATH for
installed binaries.  Fixes Lintian custom-library-search-path error.
Last-Update: 2020-11-18
Gbp-Pq: Name 0002-remove-custom-library-search-path.patch

CMakeLists.txt

index 2b7518af299b6d4d2c34136d90515dac2a74a2b0..9c948b845c26a09aaa14ab9cc7d0d421d6ad2fc8 100644 (file)
@@ -38,7 +38,6 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
 
 set_default_build_type(RelWithDebInfo) # Sets CMAKE_BUILD_TYPE
-set_default_rpath()
 add_uninstall_target()
 
 # Options