Diff of /CMakeModules/FindSubversion.cmake [638382] .. [3eaadd]  Maximize  Restore

Switch to side-by-side view

--- a/CMakeModules/FindSubversion.cmake
+++ b/CMakeModules/FindSubversion.cmake
@@ -52,8 +52,14 @@
 SET(Subversion_FOUND FALSE)
 SET(Subversion_SVN_FOUND FALSE)
 
-FIND_PROGRAM(Subversion_SVN_EXECUTABLE svn
-  DOC "subversion command line client")
+IF(APPLE) 
+  FIND_PROGRAM(Subversion_SVN_EXECUTABLE svn 
+    PATHS /opt/local/bin /sw/local/bin /usr/local/bin /usr/bin NO_DEFAULT_PATH
+    DOC "subversion command line client")
+ELSE(APPLE)
+  FIND_PROGRAM(Subversion_SVN_EXECUTABLE svn 
+    DOC "subversion command line client")
+ENDIF(APPLE)
 MARK_AS_ADVANCED(Subversion_SVN_EXECUTABLE)
 
 IF(Subversion_SVN_EXECUTABLE)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks