mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 09:39:19 +00:00
Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc
This commit is contained in:
1 parent
af0faeea44
commit
7caf12aea4
2 files changed
+2
-2
No files matched your search
@@ -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