mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix install dir for debian package
This commit is contained in:
parent
2323b79f70
commit
cd4659c1c2
@ -266,13 +266,13 @@ include(CTest)
|
||||
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
set(CPACK_SOURCE_IGNORE_FILES "/cmake/;/build/;/.gz/;~$;${CPACK_SOURCE_IGNORE_FILES}")
|
||||
set(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION} )
|
||||
set(CPACK_PACKAGING_INSTALL_PREFIX "${INSTALL_DIR}")
|
||||
|
||||
set(CPACK_PACKAGE_NAME netgen)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "automatic 3d tetrahedral mesh generator")
|
||||
set(CPACK_PACKAGE_DESCRIPTION "NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement. Netgen is open source based on the LGPL license. It is available for Unix/Linux and Windows.")
|
||||
|
||||
if(UNIX)
|
||||
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/netgen")
|
||||
execute_process(COMMAND grep CODENAME /etc/lsb-release OUTPUT_VARIABLE temp OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(temp)
|
||||
set(CPACK_GENERATOR "DEB")
|
||||
|
Loading…
Reference in New Issue
Block a user