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)
This commit is contained in:
baldurk
2019-04-13 21:22:38 +01:00
parent 2320bb5391
commit 15306fe411
+1
View File
@@ -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