[CMake] Relative include() calls

Robert Dailey rcdailey at gmail.com
Thu May 28 12:17:26 EDT 2009


On Thu, May 28, 2009 at 11:06 AM, Tyler Roscoe <tyler at cryptio.net> wrote:

> On Thu, May 28, 2009 at 10:42:03AM -0500, Robert Dailey wrote:
> > The most annoying thing about this solution, though, is that every single
> > CMakeLists.txt that includes this module needs to make sure it has
> > CMAKE_MODULE_PATH setup properly. It's just a bit redundant and
> > tedious.
>
> You're kind of a hater, aren't you Robert?


I never said I hated anything, I just said it was just a little bit
obnoxious (redundant/tedious).

Can you just set CMAKE_MODULE_PATH in your ../cmake/common.cmake? If all
> your Lists include that then you only need to set it once.


Yep I thought about this too, but it is still not the perfect solution I had
in mind :) Not having to set it at all is the ideal path, but we can't all
get our way :)

Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090528/d9e4daea/attachment.htm>


More information about the CMake mailing list