resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmVersion.cxx
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #include "cmVersion.h"
4
5 #include "cmVersionConfig.h"
6
7 unsigned int cmVersion::GetMajorVersion()
8 {
9   return CMake_VERSION_MAJOR;
10 }
11 unsigned int cmVersion::GetMinorVersion()
12 {
13   return CMake_VERSION_MINOR;
14 }
15 unsigned int cmVersion::GetPatchVersion()
16 {
17   return CMake_VERSION_PATCH;
18 }
19 unsigned int cmVersion::GetTweakVersion()
20 {
21   return 0;
22 }
23
24 const char* cmVersion::GetCMakeVersion()
25 {
26   return CMake_VERSION;
27 }