mirror of
https://github.com/glest/glest-source.git
synced 2025-02-23 19:22:40 +01:00
- fixed to NOT execute svn command when WANT_SVN_STAMP if off
This commit is contained in:
parent
753ac061b8
commit
6ac5f70f68
@ -95,7 +95,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
||||
|
||||
SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'")
|
||||
|
||||
IF(UNIX AND NOT APPLE)
|
||||
IF(UNIX AND NOT APPLE AND WANT_SVN_STAMP)
|
||||
# We do some funky character escaping to get the right stuff written out to
|
||||
# the final Makefile so we get the SVN Global Revsion #
|
||||
SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'")
|
||||
|
Loading…
x
Reference in New Issue
Block a user