From fcb6127a5979b9678b7a688b0486012583f59c8a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 24 Aug 2020 10:58:12 -0400 Subject: [PATCH] cmake: add a variable to skip Debian-isms Not every Linux machine is Debian-based. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a003954..64516cf5 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} )