void-packages/srcpkgs/renderdoc/patches/qmake-no-rpath.patch

14 lines
484 B
Diff

Index: qrenderdoc/CMakeLists.txt
===================================================================
--- a/qrenderdoc/CMakeLists.txt
+++ b/qrenderdoc/CMakeLists.txt
@@ -144,7 +144,7 @@ endif()
# and finding dependencies from the cmake build
file(WRITE
${CMAKE_BINARY_DIR}/qrenderdoc/qrenderdoc_cmake.pri
- "CONFIG+=${QMAKE_CONFIG}\n"
+ "CONFIG+=${QMAKE_CONFIG} no_qt_rpath\n"
"\n"
"QMAKE_CC=${CMAKE_C_COMPILER}\n"
"QMAKE_CXX=${CMAKE_CXX_COMPILER}\n"