mirror of
https://github.com/monero-project/monero.git
synced 2025-08-07 11:52:20 -04:00
cmake: clean up if auto-dereferencing
CMake will auto-dereference variable names in if statements, so there's no need to dereference them manually.
This commit is contained in:
parent
9ed415ad43
commit
c24d22b44e
2 changed files with 4 additions and 4 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 MATCHES TAGGEDCOMMIT)
|
||||
message(STATUS "You are building a tagged release")
|
||||
set(VERSIONTAG "release")
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue