mirror of https://github.com/PCSX2/pcsx2.git
[cmake]: fix a stupid typo
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3257 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3628784ab6
commit
0aa69b29ae
|
@ -104,16 +104,16 @@ if(CMAKE_BUILD_TYPE STREQUAL Release)
|
|||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# you must have both svn client executable and a source that contains svn metadata
|
||||
if(Suvbersion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
if(Subversion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
# execute subversion
|
||||
Subversion_WC_INFO(${CMAKE_SOURCE_DIR} tmpvar)
|
||||
|
||||
# write svnrev.h
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/pcsx2/svnrev.h "#define SVN_REV ${tmpvar_WC_REVISION} \n#define SVN_MODS 0")
|
||||
else(Suvbersion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
else(Subversion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
# write svnrev.h
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/pcsx2/svnrev.h "#define SVN_REV 0 \n#define SVN_MODS 0")
|
||||
endif(Suvbersion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
endif(Subversion_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.svn")
|
||||
|
||||
# variable with sources of this executable
|
||||
set(pcsx2Sources
|
||||
|
|
Loading…
Reference in New Issue