On Mon, Jan 25, 2010 at 7:37 AM, Marcel Loose <span dir="ltr"><<a href="mailto:loose@astron.nl">loose@astron.nl</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
IMHO the macro Subversion_WC_INFO in FindSubversion.cmake should not do<br>
a SEND_ERROR, when the 'svn info' command fails. This makes the macro<br>
useless if you want to be able to use it both on SVN working copies and<br>
SVN exported trees. Either make this behaviour configurable, or change<br>
it to STATUS (or WARNING, but that's not supported for CMake < 2.8)<br>
<br>
Best regards,<br>
Marcel Loose.<br></blockquote><div><br>As the "_WC_" in the macro name implies, it only works on working copies. You can call it conditionally based on whether the ".svn/" directory exists at the root of your source tree. Just a heuristic, but will probably work 99%+ of the time for you...<br>
<br>HTH,<br>David<br><br></div></div>