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

14 lines
485 B
Diff

Index: qrenderdoc/CMakeLists.txt
===================================================================
--- qrenderdoc/CMakeLists.txt.orig
+++ 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"