Packaging: Print some information about supported packages
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
96370e32a3
commit
7d866318c4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue