Skip to content

Cpack.cmake: Document CPACK_PACKAGE_VERSION_* defaults

Harry Mallon requested to merge hjmallon/cmake:cpack_versions into master

I spent a few minutes being confused as to why my version 0.1.1 package worked but my version 0.1.2 package did not. I have documented the CPACK_PACKAGE_VERSION = 0.1.1 default.

However I wonder whether another default might be more sensible? Something based on "PROJECT_VERSION_MAJOR", "PROJECT_VERSION_MINOR" & "PROJECT_VERSION_PATCH"?

I have also added the default vendor and Windows system name things.

Edited by Harry Mallon

Merge request reports