Skip to content
  • Alex Turbov's avatar
    CPack: Use project version as default for `CPACK_PACKAGE_VERSION` · af1c4887
    Alex Turbov authored and Craig Scott's avatar Craig Scott committed
    * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components:
      `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`,
      `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`.
    
    * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`,
      `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH`
      to initialize corresponsing CPack variables.
    af1c4887