summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-05-23 18:21:32 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-05-23 18:21:32 (GMT)
commit4f3b97063f724f5e0a2902e8d2c104012b52b7f5 (patch)
tree6ebf4d1226c927f1028ac6416f63a72f482eb10a /Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in
parentc75d91a05c9f442582726e3e80fec41d016da76f (diff)
downloadCMake-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/MyLibCPackConfig-components-depend2.cmake.in')
-rw-r--r--Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in1
1 files changed, 1 insertions, 0 deletions
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()
#