On 04/11/2011 09:29 PM, Rosen Diankov wrote:
> When creating a complex project with DLLs depending on static
> libraries in MSVC, it is necessary to set the
> LinkLibraryDependencies="true" in the project file, or otherwise
> things won't work correctly.

That shouldn't be necessary.  In src/libopenrave-core/CMakeLists.txt
replace

  add_dependencies(libopenrave-core_static ${COLLADA_LIBRARIES})

with

  target_link_libraries(libopenrave-core_static ${COLLADA_LIBRARIES})

CMake will propagate that information to anything that links to the
target.

-Brad
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to