Packaging: Print some information about supported packages

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-04-17 16:12:08 +02:00
parent 96370e32a3
commit 7d866318c4

View file

@ -44,12 +44,16 @@ if(NOT CPACK_GENERATOR)
if(rpmbuild_path)
message(STATUS "rpmbuild found, enabling RPM for the 'package' target")
list(APPEND CPACK_GENERATOR RPM)
else(rpmbuild_path)
message(STATUS "The 'package' target will not build a RPM")
endif(rpmbuild_path)
a_find_program(dpkg_path "dpkg" FALSE)
if (dpkg_path)
message(STATUS "dpkg found, enabling DEB for the 'package' target")
list(APPEND CPACK_GENERATOR DEB)
else(dpkg_path)
message(STATUS "The 'package' target will not build a DEB")
endif(dpkg_path)
endif(NOT CPACK_GENERATOR)