diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a0039544..64516cf56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} )