You could look to FindImageMagick for inspiration. It started as a way to find the ImageMagick binary utilities like "convert" and "mogrify" but support was added to detect the ImageMagick libraries via specifying additional COMPONENTS.<br>
<br>Not sure if this approach is completely correct for Subversion because it also seems to depend on APR. APR should probably be it's own find module that the Subversion one calls. E.g.<br><br>find_package(Subversion COMPONENTS devel)<br>
(FindSubversion calls find_package(APR) and returns SUBVERSION_LIBRARIES which includes libsvn, libapr, etc. to the user)<br><br><div class="gmail_quote">On Fri, Sep 25, 2009 at 11:20 AM, SF Markus Elfring <span dir="ltr"><<a href="mailto:elfring@users.sourceforge.net">elfring@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Again, to me it looks like FindSubversion is for *using* Subversion, not<br>
> for building it. As such, setting up include paths and link libraries is<br>
> not appropriate in that module.<br>
<br>
</div>Does a naming convention exist for configuration scripts?<br>
How should names be distinguished between scripts which look only for the availability of specific client software like the command "svn" and files which determine all parameters for the build process to enable customised software development?<br>
<div><div></div><div class="h5"><br>
Regards,<br>
Markus<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Philip Lowman<br>