Skip to content
Snippets Groups Projects
Commit 2feee036 authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

Set correct rpath for the plugin

parent 7dadff54
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,12 @@ cmake_path(APPEND module_dir "${qtqmldir}" "${module_target_path}") ...@@ -64,6 +64,12 @@ cmake_path(APPEND module_dir "${qtqmldir}" "${module_target_path}")
message(STATUS "Module dir ${module_dir}") message(STATUS "Module dir ${module_dir}")
# allow the installed plugin to find its backing library
set_property(
TARGET "${module_plugin_target}"
APPEND PROPERTY INSTALL_RPATH "${qtlibdir}"
)
# Install the QML module runtime loadable plugin # Install the QML module runtime loadable plugin
install(TARGETS "${module_plugin_target}" install(TARGETS "${module_plugin_target}"
LIBRARY DESTINATION "${module_dir}" LIBRARY DESTINATION "${module_dir}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment