From: Joel Holdsworth Date: Sat, 19 Jan 2013 21:51:52 +0000 (+0000) Subject: Set the package version number X-Git-Tag: pulseview-0.1.0~150 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b02a8cbf3d4d6a96732f29937f87525a823a0045;p=pulseview.git Set the package version number --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f498110c..eeaf5002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,6 +205,9 @@ install(TARGETS ${PROJECT_NAME} DESTINATION bin/) #= 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")