add cpack to build debian packages, split the packages by components

This commit is contained in:
Rolf Lussi authored and Stanislav Angelovič committed 2021-09-23 20:18:14 +02:00
1 parent c422de641a
commit 9cb8b89a01
4 files changed
+35 -15

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ target_include_directories(sdbus-c++-xml2cpp PRIVATE ${EXPAT_INCLUDE_DIRS})
# INSTALLATION
#----------------------------------
install(TARGETS sdbus-c++-xml2cpp EXPORT sdbus-c++-tools-targets DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS sdbus-c++-xml2cpp EXPORT sdbus-c++-tools-targets DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT dev)
#----------------------------------
# CMAKE CONFIG & PACKAGE CONFIG