diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2016-07-21 14:34:35 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2016-07-22 06:49:29 (GMT) |
commit | ad453f0502fe5d95ca1f050cdf52c2d32a892988 (patch) | |
tree | 6029b03b30df326546c3259fda7f7946e4f875fc /Source/CPack/WiX | |
parent | 6f108f84d08a4cc12ef5bafc93d5aad903ba687a (diff) | |
download | CMake-ad453f0502fe5d95ca1f050cdf52c2d32a892988.zip CMake-ad453f0502fe5d95ca1f050cdf52c2d32a892988.tar.gz CMake-ad453f0502fe5d95ca1f050cdf52c2d32a892988.tar.bz2 |
CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
Diffstat (limited to 'Source/CPack/WiX')
-rw-r--r-- | Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx b/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx index 16dd0ab..1747b62 100644 --- a/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx +++ b/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx @@ -86,6 +86,10 @@ void cmWIXFeaturesSourceWriter::EmitFeatureForComponent( AddAttribute("Display", "hidden"); } + if (component.IsDisabledByDefault) { + AddAttribute("Level", "2"); + } + EndElement("Feature"); } |