mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
cmake: add a variable to skip Debian-isms
Not every Linux machine is Debian-based.
This commit is contained in:
parent
671566ef31
commit
fcb6127a59
@ -484,7 +484,7 @@ endif(USE_NATIVE_ARCH)
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# Debian packager
|
# Debian packager
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX AND NOT NETGEN_NO_DEB_PACKAGER)
|
||||||
set(CPACK_SOURCE_GENERATOR "TGZ")
|
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||||
set(CPACK_SOURCE_IGNORE_FILES "/cmake/;/build/;/.gz/;~$;${CPACK_SOURCE_IGNORE_FILES}")
|
set(CPACK_SOURCE_IGNORE_FILES "/cmake/;/build/;/.gz/;~$;${CPACK_SOURCE_IGNORE_FILES}")
|
||||||
set(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION} )
|
set(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION} )
|
||||||
|
Loading…
Reference in New Issue
Block a user