cmake: Fix RPATH on Linux for frontend-tools to find obs-scripting

This will fix frontend-tools not being able to find the obs-scripting
library when OBS is compiled as a portable application.
This commit is contained in:
PatTheMav
2022-07-21 12:16:36 -04:00
committed by Ryan Foster
parent ab21c7e5b0
commit c4f12f9055
+2 -2
View File
@@ -93,8 +93,8 @@ macro(setup_obs_project)
set(OBS_DATA_PATH "../../${OBS_DATA_DESTINATION}")
set(OBS_SCRIPT_PLUGIN_PATH "../../${OBS_SCRIPT_PLUGIN_DESTINATION}")
set(CMAKE_INSTALL_RPATH
"$ORIGIN/" "${CMAKE_INSTALL_PREFIX}/${OBS_LIBRARY_DESTINATION}")
set(CMAKE_INSTALL_RPATH "$ORIGIN/"
"${ORIGIN}/../../${OBS_LIBRARY_DESTINATION}")
endif()
if(BUILD_FOR_PPA)