Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
b2c1381a
Commit
b2c1381a
authored
Feb 02, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix install rpath for Qt5 to be found at runtime.
parent
8624338e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CMakeLists.txt
linphone-desktop/CMakeLists.txt
+7
-0
No files found.
linphone-desktop/CMakeLists.txt
View file @
b2c1381a
...
...
@@ -185,6 +185,13 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E copy
find_package
(
Qt5 COMPONENTS
${
QT5_PACKAGES
}
REQUIRED
)
if
(
CMAKE_INSTALL_RPATH
)
get_target_property
(
LUPDATE_PATH Qt5::lupdate LOCATION
)
get_filename_component
(
LUPDATE_PATH
"
${
LUPDATE_PATH
}
"
DIRECTORY
)
get_filename_component
(
QT_PATH
"
${
LUPDATE_PATH
}
/../lib"
ABSOLUTE
)
list
(
APPEND CMAKE_INSTALL_RPATH
"
${
QT_PATH
}
"
)
endif
()
# Add languages support.
add_subdirectory
(
${
LANGUAGES_DIRECTORY
}
)
list
(
APPEND QRC_RESOURCES
"
${
CMAKE_BINARY_DIR
}
/
${
LANGUAGES_DIRECTORY
}
/
${
I18N_FILENAME
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment