[CMake] Dependency on external library

William A. Hoffman billlist at nycap.rr.com
Wed Oct 6 11:13:50 EDT 2004


I think if you add the library as a full path it should work.
I added this feature at some point.  What version of cmake, and
what generator are you using?


At 10:23 AM 10/6/2004, Anton Deguet wrote:
>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
>
>_______________________________________________
>CMake mailing list
>CMake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the CMake mailing list