[geos-commits] r3888 - branches/3.4

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Aug 16 20:09:16 PDT 2013


Author: robe
Date: 2013-08-16 20:09:16 -0700 (Fri, 16 Aug 2013)
New Revision: 3888

Modified:
   branches/3.4/CMakeLists.txt
Log:
#644 only do svn check if there is a .svn file in source folder to ensure it works with tar ball

Modified: branches/3.4/CMakeLists.txt
===================================================================
--- branches/3.4/CMakeLists.txt	2013-08-16 15:29:40 UTC (rev 3887)
+++ branches/3.4/CMakeLists.txt	2013-08-17 03:09:16 UTC (rev 3888)
@@ -254,7 +254,9 @@
 ENDMACRO(GET_SVN_REVISION)
 
 # Determine SVN/Git revision
-GET_SVN_REVISION()
+if(EXISTS "${CMAKE_SOURCE_DIR}/.svn")
+  GET_SVN_REVISION()
+endif()
 if ( NOT ${Project_WC_REVISION} EQUAL 0 )
    set( GEOS_SVN_REVISION ${Project_WC_REVISION} )
    configure_file ( 



More information about the geos-commits mailing list