[CMake] Can't get include() to work!

Robert Dailey rcdailey at gmail.com
Mon Dec 1 23:52:53 EST 2008


On Mon, Dec 1, 2008 at 9:53 PM, Philip Lowman <philip at yhbt.com> wrote:

> include( ${CMAKE_CURRENT_SOURCE_DIR}/includes.cmake)
> should also work.
> CMAKE_MODULE_PATH may also help you if you have a lot of includes.
>
> http://www.vtk.org/Wiki/CMake_Useful_Variables
>

I definitely tried this (using CMAKE_CURRENT_SOURCE_DIR) and it didn't work.
I'll try Michael's method tomorrow and see if I get any different results.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081201/25995319/attachment.htm>


More information about the CMake mailing list