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/?p=pulseview.git;a=commitdiff_plain;h=4b413894869880f41c37d056d64d2077f0542af1 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)