Skip to content

Commit

Permalink
libgeos#644 Can't build using cmake with tar ball
Browse files Browse the repository at this point in the history
only do svn check if there is a .svn file in 
source folder to ensure it works with tar ball

git-svn-id: http://svn.osgeo.org/geos/trunk@3889 5242fede-7e19-0410-aef8-94bd7d2200fb
  • Loading branch information
robe2 committed Aug 17, 2013
1 parent 332a7a5 commit f5830e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ MACRO (GET_SVN_REVISION)
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 (
Expand Down

0 comments on commit f5830e8

Please sign in to comment.