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:
parent
ab21c7e5b0
commit
c4f12f9055
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user