<div class="gmail_quote">On Mon, Mar 2, 2009 at 6:33 PM, Tyler Roscoe <span dir="ltr"><<a href="mailto:tyler@cryptio.net">tyler@cryptio.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;">
FindCxxTest is a simple module. Other than a helper macro, it mostly<br>
just does:<br>
<br>
find_path(CXXTEST_INCLUDE_DIR cxxtest/TestSuite.h)<br>
find_program(CXXTEST_PERL_TESTGEN_EXECUTABLE cxxtestgen.pl)<br>
find_program(CXXTEST_PYTHON_TESTGEN_EXECUTABLE cxxtestgen.py)<br>
<br>
It figures out where CxxTest is installed, but then it doesn't use this<br>
information to help CMake locate the helper scripts.<br>
<br>
This seems like a bug to me. Should I open an issue in the tracker? <br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
I've also written a (so simple that I can do it) patch to fix the issue<br>
(included inline below). Should I attach the patch to the issue?</blockquote><div><br>Tyler,<br><br>Good idea. Thanks for the patch, I've merged it in.<br><br>If you like, you can also use CMAKE_PREFIX_PATH to help find CxxTest.<br>
Also, if you're using the RPM package of CxxTest which installs to /usr, FindCxxTest will find it automatically.<br><br>Committer: Philip Lowman <<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>><br>/cvsroot/CMake/CMake/Modules/FindCxxTest.cmake,v <-- FindCxxTest.cmake<br>
new revision: 1.4; previous revision: 1.3<br><br></div></div>-- <br>Philip Lowman<br>