[CMake] include_directories vs. link_directories
Bill Hoffman
bill.hoffman at kitware.com
Fri Jun 20 13:37:15 EDT 2008
Christian Convey wrote:
> Hi guys,
>
>>From the cmake 2.6 documentation, it sounds to me like
> INCLUDE_DIRECTORIES will add another directory to the list of those
> searched for header files. In contrast, LINK_DIRECTORIES sounds like
> it overwrites, rather than appends to, the previous list of
> directories that are searched through by the linker.
>
> Have I got it right? And if so, why the difference (append vs.
> overwrite) of the two functions?
>
Both should append.
-Bill
More information about the CMake
mailing list