Fix the name of the variable being tested.
This commit is contained in:
parent
297be5b524
commit
7d148d8036
|
@ -34,7 +34,7 @@ if(NOT DEFINED CVS_COMMAND)
|
||||||
set(CVS_COMMAND cvs)
|
set(CVS_COMMAND cvs)
|
||||||
endif(NOT DEFINED CVS_COMMAND)
|
endif(NOT DEFINED CVS_COMMAND)
|
||||||
|
|
||||||
if(${GIT_CREATE_VERSION} MATCHES "^(release|maint|next)$")
|
if(${CMAKE_CREATE_VERSION} MATCHES "^(release|maint|next)$")
|
||||||
set(GIT_BRANCH origin/${CMAKE_CREATE_VERSION})
|
set(GIT_BRANCH origin/${CMAKE_CREATE_VERSION})
|
||||||
else()
|
else()
|
||||||
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})
|
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})
|
||||||
|
|
Loading…
Reference in New Issue