summaryrefslogtreecommitdiff
path: root/cmake/MacroVersionFromGit.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/MacroVersionFromGit.cmake')
-rw-r--r--cmake/MacroVersionFromGit.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/MacroVersionFromGit.cmake b/cmake/MacroVersionFromGit.cmake
index d574f26..05a9030 100644
--- a/cmake/MacroVersionFromGit.cmake
+++ b/cmake/MacroVersionFromGit.cmake
@@ -28,7 +28,7 @@ IF (TAG_LIST AND NOT VERSION)
LIST (LENGTH COMMIT_LIST MINOR_VERSION)
SET (DAEMONVERSION "${VERSION_MISSING_MINOR}.${MINOR_VERSION}")
-ENDIF (TAGLIST AND NOT VERSION)
+ENDIF (TAG_LIST AND NOT VERSION)
if (NOT DAEMONVERSION)
#Can be changed via passing -DVERSION="XXX" to cmake