summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-15 08:53:48 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-15 08:53:48 +0100
commitd4f1fc90188820a00a74a7e5fd04f6feffa7537e (patch)
tree8de40811f49ed755004d0c104edfad8123b45623 /CMakeLists.txt
parent8f1b7c6d44bb5e5f44b497e3260364407a98361e (diff)
parent73246448ec8294d781bb7f223fce395d49bfb6e4 (diff)
downloadlibuca-d4f1fc90188820a00a74a7e5fd04f6feffa7537e.tar.gz
libuca-d4f1fc90188820a00a74a7e5fd04f6feffa7537e.tar.bz2
libuca-d4f1fc90188820a00a74a7e5fd04f6feffa7537e.tar.xz
libuca-d4f1fc90188820a00a74a7e5fd04f6feffa7537e.zip
Merge branch 'dexela_simple_packaging'
Conflicts: .gitignore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26931b9..8744c82 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ set(CPACK_DEBIAN_PACKAGE_NAME "libuca")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@kit.edu>")
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${UCA_DESCRIPTION})
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY ${UCA_DESCRIPTION})
+set(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}-${PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
@@ -38,6 +39,8 @@ set(UCA_ENUM_HDRS
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/package.sh.in
${CMAKE_CURRENT_BINARY_DIR}/package.sh)
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/libuca.spec.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/libuca.spec" @ONLY IMMEDIATE)
# --- Common flags ------------------------------------------------------------
@@ -74,3 +77,6 @@ add_subdirectory(src)
add_subdirectory(plugins)
add_subdirectory(test)
add_subdirectory(tools)
+
+include(CPack)
+