[CMake] INCLUDE_DIRECTORIES in sub-directories doesn't work?

Bill Hoffman bill.hoffman at kitware.com
Tue Nov 25 16:31:49 EST 2008


Sean Soria wrote:
> I wouldn't expect that to work since I can see that it got the memo to
> include that directory but just doesn't do it.  But I tried it out by
> using INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) and I got the
> same bad results.
> 

That should work, if you could provide a small example where it does not 
work that would be helpful.

-Bill


More information about the CMake mailing list