summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClément Rezvoy <clement.rezvoy@gmail.com>2019-03-28 17:21:30 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-28 18:59:08 (GMT)
commit6f6e0966a74e8a9a6c2e1a0f109dda2f0123c01a (patch)
tree2fc94ee45a337ea8067ad6ff495cc0870f42e63d /Modules
parentbf02d625325535f485512eba307cff54c08bb257 (diff)
downloadCMake-6f6e0966a74e8a9a6c2e1a0f109dda2f0123c01a.zip
CMake-6f6e0966a74e8a9a6c2e1a0f109dda2f0123c01a.tar.gz
CMake-6f6e0966a74e8a9a6c2e1a0f109dda2f0123c01a.tar.bz2
CPackIFW: Add missing cpack_ifw_configure_component_group option processing
Both commit 88ecfd8ba1 (CPackIFW: Add some options, 2016-11-11, v3.8.0-rc1~248^2) and commit e5089c562c (CPackIFW: Add some options, 2017-01-24, v3.8.0-rc1~53^2) added some options to this macro's documentation and implementation, but the actual processing of the parsed options was never added. Add it now. Reviewed-by: Konstantin Podsvirov <konstantin@podsvirov.pro>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackIFW.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake
index 8380977..42ef8c7 100644
--- a/Modules/CPackIFW.cmake
+++ b/Modules/CPackIFW.cmake
@@ -616,6 +616,12 @@ macro(cpack_ifw_configure_component_group grpname)
set(_CPACK_IFWGRP_STR "\n# Configuration for IFW component group \"${grpname}\"\n")
+ foreach(_IFW_ARG_NAME ${_IFW_OPT})
+ cpack_append_option_set_command(
+ CPACK_IFW_COMPONENT_GROUP_${_CPACK_IFWGRP_UNAME}_${_IFW_ARG_NAME}
+ _CPACK_IFWGRP_STR)
+ endforeach()
+
foreach(_IFW_ARG_NAME ${_IFW_ARGS})
cpack_append_string_variable_set_command(
CPACK_IFW_COMPONENT_GROUP_${_CPACK_IFWGRP_UNAME}_${_IFW_ARG_NAME}