Skip to content

Commit 7caf12a

Browse files
committed
Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc
1 parent af0faee commit 7caf12a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

qrenderdoc/qrenderdoc.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ win32 {
8080

8181
# Link against the core library
8282
LIBS += -L$$DESTDIR -lrenderdoc
83-
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\''
83+
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\',-rpath,\'\$$ORIGIN/../lib\''
8484

8585
CONFIG += warn_off
8686
CONFIG += c++11

renderdoccmd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if(ANDROID)
3535
else()
3636
set(CMAKE_SKIP_BUILD_RPATH TRUE)
3737
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
38-
set(CMAKE_INSTALL_RPATH "$ORIGIN/")
38+
set(CMAKE_INSTALL_RPATH "$ORIGIN/:$ORIGIN/../lib/")
3939

4040
add_executable(renderdoccmd ${sources})
4141
endif()

0 commit comments

Comments
 (0)