cpack: Set the full version not only major
authorAndreas Schneider <asn@samba.org>
Mon, 23 Mar 2020 09:21:26 +0000 (10:21 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 23 Mar 2020 09:21:57 +0000 (10:21 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
CPackConfig.cmake

index b19eabf58d03a0be8b48bd2803944d3f53233087..b70734a57fb6ba8b6e79f796a54bbab2cae9427d 100644 (file)
@@ -11,8 +11,7 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
 
 
 ### versions
-set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION_MAJOR}")
-
+set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
 
 ### source generator
 set(CPACK_SOURCE_GENERATOR "TGZ")