[geos-commits] r3889 - trunk

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


Author: robe
Date: 2013-08-16 20:17:29 -0700 (Fri, 16 Aug 2013)
New Revision: 3889

Modified:
   trunk/CMakeLists.txt
Log:
#644 Can't build using cmake with tar ball
only do svn check if there is a .svn file in 
source folder to ensure it works with tar ball

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2013-08-17 03:09:16 UTC (rev 3888)
+++ trunk/CMakeLists.txt	2013-08-17 03:17:29 UTC (rev 3889)
@@ -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