Explicitly install the configured files

This commit is contained in:
Nicolas Werner 2022-04-19 12:40:05 +02:00
parent 98d06f8dd5
commit 7138c7a49e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -750,9 +750,9 @@ if(UNIX AND NOT APPLE)
install (FILES "resources/_nheko" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/zsh/site-functions")
configure_file("resources/nheko.desktop.in" "resources/nheko.desktop" @ONLY)
install (FILES "resources/nheko.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${APPID}.desktop")
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/resources/nheko.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${APPID}.desktop")
configure_file("resources/nheko.appdata.xml.in" "resources/nheko.appdata.xml" @ONLY)
install (FILES "resources/nheko.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${APPID}.appdata.xml")
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/resources/nheko.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${APPID}.appdata.xml")
if(NOT TARGET uninstall)
configure_file(