projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd6606c
)
Set the package version number
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 19 Jan 2013 21:51:52 +0000
(21:51 +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 f498110cd3bf46694fe5fffcc0f80860f2f510f0..eeaf5002fa2c35f9cc663d20325a21a2b39891f1 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-205,6
+205,9
@@
install(TARGETS ${PROJECT_NAME} DESTINATION bin/)
#= Packaging (handled by CPack)
#-------------------------------------------------------------------------------
#= Packaging (handled by CPack)
#-------------------------------------------------------------------------------
+set(CPACK_PACKAGE_VERSION_MAJOR ${PV_VERSION_MAJOR})
+set(CPACK_PACKAGE_VERSION_MINOR ${PV_VERSION_MINOR})
+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_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")