diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-23 18:21:32 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-23 18:21:32 (GMT) |
commit | 4f3b97063f724f5e0a2902e8d2c104012b52b7f5 (patch) | |
tree | 6ebf4d1226c927f1028ac6416f63a72f482eb10a /Tests/CPackComponentsDEB | |
parent | c75d91a05c9f442582726e3e80fec41d016da76f (diff) | |
download | CMake-4f3b97063f724f5e0a2902e8d2c104012b52b7f5.zip CMake-4f3b97063f724f5e0a2902e8d2c104012b52b7f5.tar.gz CMake-4f3b97063f724f5e0a2902e8d2c104012b52b7f5.tar.bz2 |
CPack/Deb prevent accidental component dependencies
Prevent accidental inter component dependency setting
since this is a breaking feature in situations where
another CPack module is already using the feature.
It should be enabled if desired since it can cause
issues when upgrading only one of the components
for e.g. configuration instead of all the components
at once.
Diffstat (limited to 'Tests/CPackComponentsDEB')
-rw-r--r-- | Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in | 1 | ||||
-rw-r--r-- | Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in index d207bcc..dc038fa 100644 --- a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in +++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in @@ -4,6 +4,7 @@ if(CPACK_GENERATOR MATCHES "DEB") set(CPACK_DEB_COMPONENT_INSTALL "ON") + set(CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS "ON") endif() # diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in index 803720a..1aa7d01 100644 --- a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in +++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in @@ -4,6 +4,7 @@ if(CPACK_GENERATOR MATCHES "DEB") set(CPACK_DEB_COMPONENT_INSTALL "ON") + set(CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS "ON") endif() # |