[CMake] FindSubversion
Rolf Eike Beer
eike at sf-mail.de
Thu Jun 28 18:11:06 EDT 2012
Totte Karlsson wrote:
> Hi,
> I am doing development on windows. I also have cygwin installed, to do
> things from the commandline once in a while. I also use TortoiseSVN.
>
> When trying to use
> SUBVERSION_WC_INFO(${PROJECT_SOURCE_DIR} info)
>
> In a cmake file, I get the following error:
>
> Command "c:/cygwin/bin/svn.exe info
> C:/roadrunnerwork/source/trunk/Wrappers" failed with output:
>
> svn: E155007:
> '/cygdrive/c/rrBuilds/xe/rr/C:/roadrunnerwork/source/trunk/Wrappers' is
> not a working copy
>
> So it seems it found the cygwin svn comman line client. The path:
> '/cygdrive/c/rrBuilds/xe/rr/C:/roadrunnerwork/source/trunk/Wrappers'
>
> is composed of the path where I execute the make command and the source
> folder, for which I want the svn info..
>
> How to recover from this?
In your build directory run:
cmake -D Subversion_SVN_EXECUTABLE=c:/some/thing/svn.exe .
Eike
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120629/37997c05/attachment.pgp>
More information about the CMake
mailing list