[CMake] LINK_PRIVATE and install(EXPORT behavior

2013-01-08 Thread Gregoire Aujay
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

Re: [CMake] LINK_PRIVATE and install(EXPORT behavior

2013-01-08 Thread Stephen Kelly
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