[CMake] CMAKE_MODULE_PATH Question

Daniel Nelson torham at connect2.com
Sat Apr 11 07:43:06 EDT 2009


On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote:
> Sorry, the missing $ was a typo. The problem was that I was doing:
> include( foo.cmake )
>
> I should have been doing:
>
> include( foo )
>
> Sorry for the mixup :)
>
> Thanks for the help guys! This was a silly screwup on my part :P
>

Should actually work either way:
include(foo)
include(foo.cmake)

So long as your script was named "foo.cmake" and not just "foo".
--
Daniel



More information about the CMake mailing list