cmake: add a variable to skip Debian-isms

Not every Linux machine is Debian-based.
This commit is contained in:
Ben Boeckel 2020-08-24 10:58:12 -04:00
parent 671566ef31
commit fcb6127a59

View File

@ -484,7 +484,7 @@ endif(USE_NATIVE_ARCH)
#######################################################################
# Debian packager
if(UNIX)
if(UNIX AND NOT NETGEN_NO_DEB_PACKAGER)
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_IGNORE_FILES "/cmake/;/build/;/.gz/;~$;${CPACK_SOURCE_IGNORE_FILES}")
set(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION} )