From 47a2a534ecacf76ec77f6804db1b0a9d1f25655a Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 31 Jan 2024 19:19:36 -0500 Subject: [PATCH] - add in-built zmusic folder to default rpath --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 58dbefd6f5..522102ea70 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1386,7 +1386,7 @@ if( NOT WIN32 AND NOT APPLE ) IF ("${INSTALL_RPATH}" STREQUAL "") set_target_properties(zdoom PROPERTIES #allow libzmusic.so.1 library in same folder as executable at runtime - INSTALL_RPATH "\$ORIGIN" + INSTALL_RPATH "\$ORIGIN:\$ORIGIN/zmusic/build/source" BUILD_WITH_INSTALL_RPATH ON ) endif()