From 15306fe411fc332fb4d75439a3a600fc297f7712 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 13 Apr 2019 21:22:38 +0100 Subject: [PATCH] Don't set any RPATH/RUNPATH in librenderdoc.so * This can cause conflicts with those values set in injected applications, and librenderdoc.so doesn't need any runtime paths to locate its dependencies (they are all expected global system libraries) --- renderdoc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/renderdoc/CMakeLists.txt b/renderdoc/CMakeLists.txt index f841aa94a..5cb7440a4 100644 --- a/renderdoc/CMakeLists.txt +++ b/renderdoc/CMakeLists.txt @@ -503,6 +503,7 @@ if(UNIX AND NOT ANDROID AND NOT APPLE) endif() set_target_properties(renderdoc PROPERTIES LINK_FLAGS "${RDOC_LINK_FLAGS}") + set_target_properties(renderdoc PROPERTIES SKIP_BUILD_RPATH TRUE) endif() # On macOS set the rpath so that linked libraries are relative to the executable, not absolute