[CMake] FindSubversion on windows problem and solution.

Tyler Roscoe tyler at cryptio.net
Fri Feb 19 19:30:14 EST 2010


On Fri, Feb 19, 2010 at 06:44:20PM -0500, John Drescher wrote:
> Under windows I am using the cygwin svn executable for this. The find
> module does not automatically find subversion however if I enter it in
> cmake-gui in xp64 all is well and I get the expected patch version
> appended. However trying this with windows 7 results in cmake never
> completing the configure step. I could not figure that out till I
> started executing the svn commands cmake would inside my build tree.
> 
> c:\cygwin\bin\svn info
> 
> That worked fine and made me think this bug was some incompatibility
> with windows 7. Eventually I looked at my code again and saw that I
> was also using the svn log command so trying that in the command
> window showed the reason for the problem. I got prompted for the
> password to access the svn server. Since I use TortoiseSVN from
> explorer I had never set the password for the console svn executable.

I think you might be asking for trouble using the cygwin svn client
outside of cygwin (line ending issues are one thing that springs to mind
but there may be others). How come you're not using the Collabnet
Windows svn command-line instead of Cygwin?

tyler


More information about the CMake mailing list