[CMake] Dependency on external library

Anton Deguet anton at cs.jhu.edu
Wed Oct 6 10:23:58 EDT 2004


Hello,

I am using the command TARGET_LINK_LIBRARIES to specify which libraries
to link with.  Unfortunately one of the libraries is often recompiled
(not using CMake) and CMake doesn't seem to handle the dependency
correctly (i.e. the executable is not relinked when this external
library is modified).   Is there an easy way to add this kind of
dependency?

Anton


-- 
Anton Deguet                          Systems Engineer
ERC CISST                     Johns Hopkins University
http://cisstweb.cs.jhu.edu                410 516 5261



More information about the CMake mailing list