Changeset 249 in pacpusframework for trunk/cmake/in/PacpusConfig.cmake.in


Ignore:
Timestamp:
Dec 4, 2013, 2:24:38 PM (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: versioning in PacpusConfig.cmake.in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/in/PacpusConfig.cmake.in

    r247 r249  
    1313#                                          with this path is NOT needed.
    1414#      - Pacpus_INCLUDE_DIRS             : The Pacpus include directories.
    15 #      - Pacpus_VERSION                  : The version of this Pacpus build. Example: "2.4.0"
    16 #      - Pacpus_VERSION_MAJOR            : Major version part of Pacpus_VERSION. Example: "2"
    17 #      - Pacpus_VERSION_MINOR            : Minor version part of Pacpus_VERSION. Example: "4"
    18 #      - Pacpus_VERSION_PATCH            : Patch version part of Pacpus_VERSION. Example: "0"
     15#      - Pacpus_VERSION                  : The version of this Pacpus build. Example: "1.2.3"
     16#      - Pacpus_MAJOR_VERSION            : Major version part of Pacpus_VERSION. Example: "1"
     17#      - Pacpus_MINOR_VERSION            : Minor version part of Pacpus_VERSION. Example: "2"
     18#      - Pacpus_PATCH_VERSION            : Patch version part of Pacpus_VERSION. Example: "3"
    1919#
    2020#    Advanced variables:
     
    4848#  Version variables:
    4949# ======================================================
    50 set(Pacpus_VERSION @Pacpus_VERSION@)
    51 set(Pacpus_VERSION_MAJOR @Pacpus_VERSION_MAJOR@)
    52 set(Pacpus_VERSION_MINOR @Pacpus_VERSION_MINOR@)
    53 set(Pacpus_VERSION_PATCH @Pacpus_VERSION_PATCH@)
     50set(Pacpus_MAJOR_VERSION @Pacpus_MAJOR_VERSION@)
     51set(Pacpus_MINOR_VERSION @Pacpus_MINOR_VERSION@)
     52set(Pacpus_PATCH_VERSION @Pacpus_PATCH_VERSION@)
    5453set(Pacpus_VERSION
    5554    "${Pacpus_MAJOR_VERSION}.${Pacpus_MINOR_VERSION}.${Pacpus_PATCH_VERSION}")
Note: See TracChangeset for help on using the changeset viewer.