fix #291370: incorrect filenames in /share/sound/CMakeLists.txt prevent installation

This commit is contained in:
Joachim Schmitz 2019-06-26 23:21:53 +02:00
parent 4b6aa73e36
commit 4636221f43

View file

@ -29,13 +29,13 @@ else ()
)
endif ()
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/MuseScore_General-License.md)
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/MuseScore_General_License.md)
install (FILES FluidR3Mono_License.md
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}sound
RENAME MuseScore_General-License.md)
RENAME MuseScore_General_License.md)
else ()
install(FILES
MuseScore_General-License.md
MuseScore_General_License.md
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}sound
)
endif ()