Hi, I have these directories:
Foo
Foo/Bar
I need to link Foo.dll to Bar.dll
In the CmakeLists.txt in Foo, I wrote:
SUBDIRS(Bar)
ADD_LIBRARY(FooLib ${SRC_FILES})
TARGET_LINK_LIBRARIES(FooLib BarLib)
ADD_DEPENDENCIES(FooLib
BarLib)
But VS builds FooLib.dll first and complains that BarLib.dll cannot be
found.
Any hint to fix that?
Sylvain
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
