build: Make plugin RPATH on Linux point to the plugins folder
This commit is contained in:
parent
c3d755a3e2
commit
dfc249135f
@ -85,6 +85,8 @@ macro(add_imhex_plugin)
|
|||||||
# Fix rpath
|
# Fix rpath
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set_target_properties(${IMHEX_PLUGIN_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks;@executable_path/plugins")
|
set_target_properties(${IMHEX_PLUGIN_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks;@executable_path/plugins")
|
||||||
|
elseif (UNIX)
|
||||||
|
set_target_properties(${IMHEX_PLUGIN_NAME} PROPERTIES INSTALL_RPATH_USE_ORIGIN ON INSTALL_RPATH "$ORIGIN/")
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user