Commit 6207c80f authored by Naumann, Andreas's avatar Naumann, Andreas

updated amdis package version to 0.9.<svnrevision>

parent a369387f
......@@ -3,7 +3,6 @@ project(AMDiS)
cmake_minimum_required(VERSION 2.8)
set(AMDiS_SOURCE_DIR "${AMDiS_SOURCE_DIR}/src")
#needs: --enable-debug, enable-intel --enable-openmp --enable-parmetis --enable-parallel-domain --enable-umfpack --enable-mkl --enable-boost --enable-marmot
SET(LIB_DIR ./lib)
......@@ -297,8 +296,18 @@ INSTALL(DIRECTORY ${CMAKE_BINARY_DIR}/lib/mtl4/
)
#PACKAGES
#let cmake look for the svn-version
find_package(Subversion)
if(Subversion_FOUND)
Subversion_WC_INFO(${CMAKE_CURRENT_BINARY_DIR} mtlSubinfo)
set(CurrentRevision ${mtlSubinfo_WC_REVISION})
# message("current revision: ${mtlSubinfo_WC_REVISION}")
else(Subversion_FOUND)
set(CurrentRevision "0")
endif(Subversion_FOUND)
set(CPACK_PACKAGE_NAME "AMDiS")
set(CPACK_PACKAGE_CONTACT "Andreas.Naumann@tu-dresden.de")
set(CPACK_PACKAGE_VERSION "0.9.${CurrentRevision}")
set(CPACK_GENERATOR "RPM" "DEB" "TGZ")
set(CPACK_INSTALL_PREFIX "/usr/")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment