summaryrefslogtreecommitdiff
path: root/cmake/Modules/GrVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/GrVersion.cmake')
-rw-r--r--cmake/Modules/GrVersion.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/Modules/GrVersion.cmake b/cmake/Modules/GrVersion.cmake
index a899442a58..fc83b1686b 100644
--- a/cmake/Modules/GrVersion.cmake
+++ b/cmake/Modules/GrVersion.cmake
@@ -23,10 +23,10 @@ endif()
set(__INCLUDED_GR_VERSION_CMAKE TRUE)
#eventually, replace version.sh and fill in the variables below
-set(MAJOR_VERSION ${VERSION_INFO_MAJOR_VERSION})
-set(API_COMPAT ${VERSION_INFO_API_COMPAT})
-set(MINOR_VERSION ${VERSION_INFO_MINOR_VERSION})
-set(MAINT_VERSION ${VERSION_INFO_MAINT_VERSION})
+set(MAJOR_VERSION ${VERSION_MAJOR})
+set(API_COMPAT ${VERSION_API})
+set(MINOR_VERSION ${VERSION_ABI})
+set(MAINT_VERSION ${VERSION_PATCH})
########################################################################
# Extract the version string from git describe.