summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
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(