projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b02a8cb
)
Prevent CPack from generating a source package with -Source appended to the name
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 19 Jan 2013 21:52:22 +0000
(21:52 +0000)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 19 Jan 2013 22:17:35 +0000
(23:17 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index eeaf5002fa2c35f9cc663d20325a21a2b39891f1..db739fdae9d9091aba25411ffaad127d4ceeab2d 100644
(file)
--- 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)