[CMake] link_directories & include_directories

Alexander Neundorf a.neundorf-work at gmx.net
Wed Mar 10 15:37:01 EST 2010


On Wednesday 10 March 2010, Benoit Thomas wrote:
> Hello,
>
> Are there equivalent to link_directories & 

If you use target_link_libraries(), and all the libraries you link against 
have the full path (which is highly recommended) a per-target 
link_directories() is not necessary.

> include_directories which would require a target ?

This is currently only a per-directory setting.

Alex


More information about the CMake mailing list