[CMake] LINK_DIRECTORIES ?

Andreas Pakulat apaku at gmx.de
Wed Aug 5 10:52:14 EDT 2009


On 05.08.09 07:52:32, James C. Sutherland wrote:
>
> On Aug 5, 2009, at 1:33 AM, motes motes wrote:
>
>> I get the point of INCLUDE_DIRECTORIES (the various files used must be 
>> located). But what is the point of LINK_DIRECTORIES and  
>> TARGET_LINK_LIBRARIES?
>>
>
> LINK_DIRECTORIES specifies the path to search for libraries whereas  
> TARGET_LINK_LIBRARIES specifies what libraries should be linked to the  
> executable.

However LINK_DIRECTORIES is deprecated in favor of passing absolue paths of
library files to TARGET_LINK_LIBRARIES.

Andreas

-- 
You are magnetic in your bearing.


More information about the CMake mailing list