summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@ymail.com>2022-04-19 12:40:05 +0200
committerNicolas Werner <nicolas.werner@ymail.com>2022-04-19 12:40:05 +0200
commit7138c7a49e13125e8881808b7dfed838113b9667 (patch)
treeceed3cb372660d5b7213201925f3d39a382457d9
parent98d06f8dd53452ee1406b2a3f224efb16239c4db (diff)
Explicitly install the configured files
-rw-r--r--CMakeLists.txt4
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(