CPack: Use project version as default package version
Nowadays CPack has hardcoded default package version (
0.1.1), so you have to set
CPACK_PACKAGE_VERSION (and/or individual components) manually all the time. This MR set default values for version components according to the top-level project version and fallback to former defaults if
project() call has no version specified.