From 6ac5f70f68e61568bb7f416b3e64c64b67560ad6 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 15 May 2011 02:10:29 +0000 Subject: [PATCH] - fixed to NOT execute svn command when WANT_SVN_STAMP if off --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fea8326d..5be3a9d2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}`\\\"'")