From f05f63cd48e252e0d1f428d84422baa2066627ea Mon Sep 17 00:00:00 2001 From: Urs Ritzmann Date: Mon, 18 Oct 2021 15:30:47 +0200 Subject: [PATCH] cpack: remove test component If -DBUILD_TESTS=ON, then creating debian packages fails because dpkg-shlibdeps obiously can't find the sdbus-c++ dependency for the tests package. We could disable CPACK_DEBIAN_PACKAGE_SHLIBDEPS for the tests package. Nevertheless I don't think we want a tests package at all. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5626f41..ddb3eb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,6 +218,7 @@ set(CPACK_PACKAGE_VENDOR "Kistler") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "high-level C++ D-Bus library") set(CPACK_PACKAGE_CONTACT "info@kistler.com") set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md") +set(CPACK_COMPONENTS_ALL runtime dev doc) set(CPACK_COMPONENT_DEV_DEPENDS "runtime") # specific for DEB generator