forked from Kistler-Group/sdbus-cpp
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user