aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-10-18 20:52:11 +0200
committerRechi <Rechi@users.noreply.github.com>2018-10-18 20:52:11 +0200
commit23c7e78ec0a546541f79e6eadc8b63a22c577cb1 (patch)
treed15f0206831dffffe1f48209270fa2518c6c120e /cmake
parent242d2efbb0c266ede0c7eaf4f62913c3431fb378 (diff)
[cmake][addons] package CUSTOM_DATA & ADDITIONAL_BINARY for posix
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})