]> sigrok.org Git - pulseview.git/commitdiff
Set the package version number
authorJoel Holdsworth <redacted>
Sat, 19 Jan 2013 21:51:52 +0000 (21:51 +0000)
committerUwe Hermann <redacted>
Sat, 19 Jan 2013 22:17:35 +0000 (23:17 +0100)
CMakeLists.txt

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