]> sigrok.org Git - pulseview.git/commitdiff
Prevent CPack from generating a source package with -Source appended to the name
authorJoel Holdsworth <redacted>
Sat, 19 Jan 2013 21:52:22 +0000 (21:52 +0000)
committerUwe Hermann <redacted>
Sat, 19 Jan 2013 22:17:35 +0000 (23:17 +0100)
CMakeLists.txt

index eeaf5002fa2c35f9cc663d20325a21a2b39891f1..db739fdae9d9091aba25411ffaad127d4ceeab2d 100644 (file)
@@ -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)