aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/scripts/common/AddonHelpers.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/scripts/common/AddonHelpers.cmake b/cmake/scripts/common/AddonHelpers.cmake
index 5d21923d07..d90cc8ae37 100644
--- a/cmake/scripts/common/AddonHelpers.cmake
+++ b/cmake/scripts/common/AddonHelpers.cmake
@@ -289,10 +289,12 @@ macro (build_addon target prefix libs)
COMPONENT ${target}-${${prefix}_VERSION}-${PLATFORM_TAG})
endif()
if(${prefix}_CUSTOM_DATA)
- install(DIRECTORY ${${prefix}_CUSTOM_DATA} DESTINATION ${target}/resources)
+ install(DIRECTORY ${${prefix}_CUSTOM_DATA} DESTINATION ${target}/resources
+ COMPONENT ${target}-${${prefix}_VERSION}-${PLATFORM_TAG})
endif()
if(${prefix}_ADDITIONAL_BINARY)
- install(FILES ${${prefix}_ADDITIONAL_BINARY} DESTINATION ${target})
+ install(FILES ${${prefix}_ADDITIONAL_BINARY} DESTINATION ${target}
+ COMPONENT ${target}-${${prefix}_VERSION}-${PLATFORM_TAG})
endif()
endif()
add_cpack_workaround(${target} ${${prefix}_VERSION} ${ext})