Fixed DEB packages not being build if both rpmbuild and dpkg-buildpackage are found.

This commit is contained in:
Markus Makela
2015-07-13 12:50:48 +03:00
parent a6b35af9f6
commit 05fad56853

View File

@ -253,7 +253,8 @@ if(PACKAGE)
if(NOT ( ${RPMBUILD} STREQUAL "RPMBUILD-NOTFOUND" ) )
include(cmake/package_rpm.cmake)
message(STATUS "Generating RPM packages")
elseif(NOT ( ${DEBBUILD} STREQUAL "DEBBUILD-NOTFOUND" ) )
endif()
if(NOT ( ${DEBBUILD} STREQUAL "DEBBUILD-NOTFOUND" ) )
include(cmake/package_deb.cmake)
message(STATUS "Generating DEB packages for ${DEB_ARCHITECTURE}")
endif()