Stephen Kelly wrote:

> target_link_libraries(foo
> LINK_PUBLIC
> qtcore
> qtnetwork
> )
> 
> is equivalent to
> 
> target_link_libraries(foo
> qtcore
> qtnetwork
> )
> 
> * foo will link against qtcore and qtnetwork

I should have also noted that both qtcore and qtnetwork will also be in the 
LINK_INTERFACE_LIBRARIES.

--

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