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-Tag: pulseview-0.1.0~149 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4b413894869880f41c37d056d64d2077f0542af1;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 eeaf5002..db739fda 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)