From cd4659c1c2f73c230da2303a61aab1e07cbb94c1 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 15 Oct 2015 10:45:32 +0200 Subject: [PATCH] fix install dir for debian package --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04664296..7c1a5a01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")