Stephen Kelly wrote:

> add_library(foo SHARED IMPORTED)
> set_property(TARGET foo INTERFACE_LINK_LIBRARIES bar)
> set_property(TARGET foo LINK_INTERFACE_LIBRARIES_DEBUG bat)

I forgot to also populate the LINK_INTERFACE_LIBRARIES in all cases. Eg:

 set_property(TARGET foo LINK_INTERFACE_LIBRARIES bar)

But that doesn't change anything wrt duplication either.

Thanks,

Steve.


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to