Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc

This commit is contained in:
baldurk
2017-02-10 12:09:05 +00:00
parent af0faeea44
commit 7caf12aea4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()