From: Joel Holdsworth Date: Sat, 19 Jan 2013 21:52:22 +0000 (+0000) Subject: Prevent CPack from generating a source package with -Source appended to the name X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=4b413894869880f41c37d056d64d2077f0542af1;hp=b02a8cbf3d4d6a96732f29937f87525a823a0045;p=pulseview.git Prevent CPack from generating a source package with -Source appended to the name --- diff --git a/CMakeLists.txt b/CMakeLists.txt index eeaf500..db739fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,6 +211,8 @@ set(CPACK_PACKAGE_VERSION_PATCH ${PV_VERSION_MICRO}) set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/README) set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/COPYING) set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_CURRENT_BINARY_DIR} ".gitignore" ".git") +set(CPACK_SOURCE_PACKAGE_FILE_NAME + "${CMAKE_PROJECT_NAME}-${PV_VERSION_MAJOR}.${PV_VERSION_MINOR}.${PV_VERSION_MICRO}") include(CPack)