diff options
author | Brad King <brad.king@kitware.com> | 2016-08-01 18:59:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-01 18:59:53 (GMT) |
commit | 5ec03c93fc92149708b4ec9d19384a015d845f8e (patch) | |
tree | d856299ffcce91ec04c1188b21eef4a695032a78 /Source/CPack | |
parent | 88e1c54a7cd3213d87143558a8fddf39e7fdccc0 (diff) | |
parent | ad453f0502fe5d95ca1f050cdf52c2d32a892988 (diff) | |
download | CMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.zip CMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.tar.gz CMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.tar.bz2 |
Merge topic 'wix-disabled-components'
ad453f05 CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
6f108f84 CPackComponent: Document the *_HIDDEN and *_DISABLED variables
Diffstat (limited to 'Source/CPack')
-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"); } |