mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
This commit is contained in:
committed by
Nils Gladitz
parent
6f108f84d0
commit
ad453f0502
@@ -86,6 +86,10 @@ void cmWIXFeaturesSourceWriter::EmitFeatureForComponent(
|
||||
AddAttribute("Display", "hidden");
|
||||
}
|
||||
|
||||
if (component.IsDisabledByDefault) {
|
||||
AddAttribute("Level", "2");
|
||||
}
|
||||
|
||||
EndElement("Feature");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user