Verified Commit bcee6c3b authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix building Marble for distributions

LICENSE.txt is a symlink, but it gets installed as a symlink (not as a
file, as INSTALL copies symlinks as symlinks) to the
license in LICENSES/, which is not installed. Therefore build systems
that watch for files that are not installed will notice a symlink
pointing to a location in the source and not on the target path and will
error out.

Having INSTALL handle symlinks is tricky, so the best solution is to
just install the actual file in LICENSES and rename it.
parent 84930d2f
Pipeline #84520 passed with stage
in 25 minutes and 15 seconds
......@@ -401,7 +401,9 @@ marble_install_po_files_as_qm(poqm)
####################################################
# Install extra files
install(FILES LICENSE.txt DESTINATION ${MARBLE_DATA_INSTALL_PATH})
install(FILES LICENSES/LGPL-2.1-or-later.txt
DESTINATION ${MARBLE_DATA_INSTALL_PATH}
RENAME LICENSE.txt)
############################################################
# Uninstall stuff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment