mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user