summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-24 17:54:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-24 17:54:00 (GMT)
commit384de98709ee6b8bf49c2d52b89d04d09a7c4b58 (patch)
tree7e9c05c41ea5cd73182dcc4843d290e7e2e99bc1 /Tests
parent185be83815228fd25ab568757d5a9f3286ae01c0 (diff)
parent4f3b97063f724f5e0a2902e8d2c104012b52b7f5 (diff)
downloadCMake-384de98709ee6b8bf49c2d52b89d04d09a7c4b58.zip
CMake-384de98709ee6b8bf49c2d52b89d04d09a7c4b58.tar.gz
CMake-384de98709ee6b8bf49c2d52b89d04d09a7c4b58.tar.bz2
Merge topic 'cpack-deb-component-depends'
4f3b9706 CPack/Deb prevent accidental component dependencies
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend1.cmake.in1
-rw-r--r--Tests/CPackComponentsDEB/MyLibCPackConfig-components-depend2.cmake.in1
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()
#