[CMake] Link directories

Eric Noulard eric.noulard at gmail.com
Mon Feb 14 09:42:45 EST 2011


2011/2/14 Robert Bielik <robert.bielik at xponaut.se>:
> Hi all,
>
> I seem to be missing something, cause I cannot find a target property for
> setting additional library directories (for a MSVC project)

Usually you do not specify "additional lib directories" you should
specify all libs you need with "target_link_libraries".

In any case have a look at the documentation of the following CMake commands

target_link_libraries
link_directories
link_libraries  (DEPRECATED)


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list