summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/warp/ui/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/warp/ui/CMakeLists.txt b/plugins/warp/ui/CMakeLists.txt
index ebfaddc4..e266452c 100644
--- a/plugins/warp/ui/CMakeLists.txt
+++ b/plugins/warp/ui/CMakeLists.txt
@@ -43,9 +43,15 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
if (BN_INTERNAL_BUILD)
ui_plugin_rpath(${PROJECT_NAME})
+ if (UNIX)
+ # A hack to get the ui plugin to find the warp core plugin.
+ set_target_properties(${PROJECT_NAME} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE INSTALL_RPATH "$ORIGIN")
+ endif()
+
set_target_properties(${PROJECT_NAME} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}
RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR})
else ()
+ # TODO: There is a possibility that linux will fail to load the correct core warp.
bn_install_plugin(${PROJECT_NAME})
endif ()