[Cmake] Linking libraries
Nils H. Busch
nilsb at cns.mpg.de
Wed Dec 4 03:31:52 EST 2002
Hello,
in a VTK related project, I have problems linking libraries other than
those needed by VTK when building my own libraries. In a subdir, I build
the resp lib and try to link it to libraries needed via LINK_LIBRARIES.
This doesn't work. Only when I use TARGET_LINK_LIBRARIES the specified
libs are linked into my target lib. Is this the intended behaviour,
because I think I saw examples using LINK_LIBRARIES? What is the
difference between those commands and when should either of them be used
?
Thanks a lot.
--
Nils H. Busch
Max-Planck-Institute of Cognitive Neuroscience
phone: ++49 (341) 9940-035 fax: ++49 (341) 9940-204
e-mail: nilsb at cns.mpg.de
More information about the CMake
mailing list