summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-28 21:13:24 +0100
committerAki <please@ignore.pl>2023-02-28 21:13:24 +0100
commit634f0a07be47972237004256aa0223ccb958e8e1 (patch)
tree1e163b90efad6f13cc19b8f7e20c6191b483b3d4 /cmake/modules
parent09c65f2822b99e43ccbc20a84998b1cc3e26eae8 (diff)
parentfa116950ed55f55fac4fccffeb59412d75666125 (diff)
downloadkurator-634f0a07be47972237004256aa0223ccb958e8e1.zip
kurator-634f0a07be47972237004256aa0223ccb958e8e1.tar.gz
kurator-634f0a07be47972237004256aa0223ccb958e8e1.tar.bz2
Merge branch 'archlinux-pipelines'
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/AddResources.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/AddResources.cmake b/cmake/modules/AddResources.cmake
index b59258e..227e710 100644
--- a/cmake/modules/AddResources.cmake
+++ b/cmake/modules/AddResources.cmake
@@ -19,6 +19,8 @@ function(add_resources RESOURCES_TARGET)
"${RESOURCES_PREFIX}/${RESOURCES_SOURCE}"
COMMENT "Moving ${RESOURCES_SOURCE}"
)
+ cmake_path(GET RESOURCES_SOURCE PARENT_PATH PARENT)
+ install(FILES ${RESOURCES_SOURCE} DESTINATION ${PARENT})
endforeach()
list(TRANSFORM RESOURCES_FILES PREPEND "${RESOURCES_PREFIX}/")
add_custom_target(