summaryrefslogtreecommitdiff
path: root/net-analyzer/openvas-scanner/files/openvas-scanner-20.8.1-rpath-qa-fix.patch
blob: 79e8692f4d6d7a4884618562198e79d36f1ae7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69c68375..5bc000c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,8 @@ endif (NOT CMAKE_BUILD_TYPE)
 
 OPTION (ENABLE_COVERAGE "Enable support for coverage analysis" OFF)
 
+set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+
 ## Retrieve git revision (at configure time)
 include (GetGit)