I have a library (libA), which depends upon another library (libB) for
its implementation.    I also have an executable (execC) which uses
LibA.  Is there an easy way of getting LibB added to the list of
dependencies, so what when I do

 

  Add_Executable(exeC)

  Target_Link_Libraries(exeC libA)

 

it knows (because of definitions in the CMakeLists.txt for libA) that it
should also link libB?

 

Joe

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to