[CMake] Relative include() calls

Tyler Roscoe tyler at cryptio.net
Thu May 28 12:06:00 EDT 2009


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?

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.

tyler


More information about the CMake mailing list