aboutsummaryrefslogtreecommitdiff
path: root/src/version.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.cmake')
-rw-r--r--src/version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/version.cmake b/src/version.cmake
index 0baee19fd..14ce8843d 100644
--- a/src/version.cmake
+++ b/src/version.cmake
@@ -68,7 +68,7 @@ else()
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
# Check if we're building that tagged commit or a different one
- if(COMMIT MATCHES TAGGEDCOMMIT)
+ if(COMMIT STREQUAL TAGGEDCOMMIT)
message(STATUS "You are building a tagged release")
set(VERSIONTAG "release")
else()