fixed cmake variable matching
This commit is contained in:
parent
e7c52d94c0
commit
570b90eb43
|
@ -12,7 +12,7 @@ else()
|
||||||
set(VERSIONTAG "${COMMIT}")
|
set(VERSIONTAG "${COMMIT}")
|
||||||
else()
|
else()
|
||||||
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
|
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
|
||||||
if(COMMIT MATCHES TAGGEDCOMMIT)
|
if(${COMMIT} MATCHES ${TAGGEDCOMMIT})
|
||||||
message(STATUS "You are building a tagged release")
|
message(STATUS "You are building a tagged release")
|
||||||
set(VERSIONTAG "release")
|
set(VERSIONTAG "release")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue