mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc
This commit is contained in:
@@ -80,7 +80,7 @@ win32 {
|
||||
|
||||
# Link against the core library
|
||||
LIBS += -L$$DESTDIR -lrenderdoc
|
||||
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\''
|
||||
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\',-rpath,\'\$$ORIGIN/../lib\''
|
||||
|
||||
CONFIG += warn_off
|
||||
CONFIG += c++11
|
||||
|
||||
@@ -35,7 +35,7 @@ if(ANDROID)
|
||||
else()
|
||||
set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
set(CMAKE_INSTALL_RPATH "$ORIGIN/")
|
||||
set(CMAKE_INSTALL_RPATH "$ORIGIN/:$ORIGIN/../lib/")
|
||||
|
||||
add_executable(renderdoccmd ${sources})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user