diff options
author | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-19 12:40:05 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@ymail.com> | 2022-04-19 12:40:05 +0200 |
commit | 7138c7a49e13125e8881808b7dfed838113b9667 (patch) | |
tree | ceed3cb372660d5b7213201925f3d39a382457d9 /CMakeLists.txt | |
parent | Fix install of desktop file in flatpak (diff) | |
download | nheko-7138c7a49e13125e8881808b7dfed838113b9667.tar.xz |
Explicitly install the configured files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c2fa0741..57bb74b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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( |