diff options
author | Aki <please@ignore.pl> | 2023-02-27 22:10:48 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-27 22:10:48 +0100 |
commit | eb7b5585447d67099a1fc8382a0f05b07b609b49 (patch) | |
tree | 52cc59aeab8cdf18c1074c4e7a8017d2a1ce6ef8 /cmake/modules | |
parent | a471d2e3535482f3a49262db52dbbf85078f5bcf (diff) | |
download | kurator-eb7b5585447d67099a1fc8382a0f05b07b609b49.zip kurator-eb7b5585447d67099a1fc8382a0f05b07b609b49.tar.gz kurator-eb7b5585447d67099a1fc8382a0f05b07b609b49.tar.bz2 |
Added install targets for executable and resources
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/AddResources.cmake | 2 |
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( |