diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-09 17:45:31 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-09 17:45:31 +0100 |
commit | db22b4e5b1f2cfacf3775e4dfb939e29594aae6a (patch) | |
tree | a888f54b47b02d8e9ba1ef38aa13886f4b40384b /CMakeLists.txt | |
parent | 601ffc2f442cd85505bd67c8dcf8493423e4da4a (diff) | |
download | ufo-filters-db22b4e5b1f2cfacf3775e4dfb939e29594aae6a.tar.gz ufo-filters-db22b4e5b1f2cfacf3775e4dfb939e29594aae6a.tar.bz2 ufo-filters-db22b4e5b1f2cfacf3775e4dfb939e29594aae6a.tar.xz ufo-filters-db22b4e5b1f2cfacf3775e4dfb939e29594aae6a.zip |
Rename to create Debian compliant files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bef6dc4..b4c2d8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,11 +9,14 @@ add_subdirectory(ufo-bindings) add_subdirectory(thirdparty) # --- Generate packages ------------------------------------------------------- - set(CPACK_GENERATOR "DEB") set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Core libraries and tools of the UFO project") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY "Core libraries and tools of the UFO project") set(CPACK_DEBIAN_PACKAGE_VERSION "0.0.1") +# The following re-naming is necessary in order to create Debian-like .deb +# files. This might change with a further patch to CPack. +set(CPACK_PACKAGE_FILE_NAME + "${CMAKE_PROJECT_NAME}_${CPACK_DEBIAN_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}") include(CPack) |