fixed CMake version matching
This commit is contained in:
parent
ef2a2b42c9
commit
a144997c48
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue