Fix the name of the variable being tested.

This commit is contained in:
Bill Hoffman 2010-09-14 09:30:39 -04:00
parent 297be5b524
commit 7d148d8036
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if(NOT DEFINED CVS_COMMAND)
set(CVS_COMMAND cvs)
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})
else()
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})