1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Hideki Yamane <henrich@debian.org>
Date: Mon, 9 Aug 2021 00:48:46 +0900
Subject: Turn off rpath
---
CMakeLists.txt | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f11581..0768e54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,20 +125,6 @@ set(SCAP_WORKBENCH_LINK_LIBRARIES
Qt5::Widgets Qt5::XmlPatterns
${OPENSCAP_LIBRARIES})
-# ---------- RPATHS for linking
-
-# see https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling
-
-# when building, use the install RPATH
-# (but later on when installing)
-set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
-
-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
-
-# add the automatically determined parts of the RPATH
-# which point to directories outside the build tree to the install RPATH
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-
# Turn on RPATH for OSX
set(CMAKE_MACOSX_RPATH ON)
|