Gregoire Aujay wrote:

> Hello,
> 
> I am using cmake 2.8.10.2 on windows.
> I want a library A to link to a 3rdParty library B. I thought that using
> LINK_PRIVATE version of the target_link_libraries function should avoid B
> to be in the link interface of A. But if I export A, B's full path is in
> IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG.
> 
> I know that if I declare B as an imported library I will not have B's full
> path in IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG but only "B" which might
> be ok. But still I think that the PRIVATE_LINK should totally remove B
> from A's link interface.
> 
> Is this the correct behavior?
> 

It works for me. Please provide a testcase.

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to