Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qml_install
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Kosmale
qml_install
Commits
117a24dd
Commit
117a24dd
authored
1 year ago
by
Fabian Kosmale
Browse files
Options
Downloads
Patches
Plain Diff
use a relative rpath for rpath (to keep it relocatable)
parent
2feee036
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
with
3 additions
and
1 deletion
CMakeLists.txt
+
3
−
1
View file @
117a24dd
...
@@ -65,9 +65,11 @@ cmake_path(APPEND module_dir "${qtqmldir}" "${module_target_path}")
...
@@ -65,9 +65,11 @@ 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
# allow the installed plugin to find its backing library
cmake_path
(
SET plugin2backinglibpath
${
qtlibdir
}
)
cmake_path
(
RELATIVE_PATH plugin2backinglibpath BASE_DIRECTORY
${
module_dir
}
)
set_property
(
set_property
(
TARGET
"
${
module_plugin_target
}
"
TARGET
"
${
module_plugin_target
}
"
APPEND PROPERTY INSTALL_RPATH
"
${
qtlibdir
}
"
APPEND PROPERTY INSTALL_RPATH
"
\
$
{
ORIGIN}/
${
plugin2backinglibpath
}
"
)
)
# Install the QML module runtime loadable plugin
# Install the QML module runtime loadable plugin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment