CPack wix and required components group

I am using cmake/cpack with Wix to generate .msi installers for windows. Recently I introduced optional components are part of the installer. However, I faced quite a limitation, while the call to cpack_add_component allows for REQUIRED tag the call to cpack_add_component_group does not. This leads to the peculiar situation that a component is marked as required but not the group it belongs to. The final result is broken installer where required components can be omitted.

Did I miss something?