[CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Lucas Soltic
Hello! I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. From what I understood, setting this property empty for a target avoids transitive dependencies linking. But whatever I try, it doesn't work. I have created a lib A linked against lib B. I'm also creating an exe linked

Re: [CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Nils Gladitz
On 24.05.2014 18:15, Lucas Soltic wrote: Hello! I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. From what I understood, setting this property empty for a target avoids transitive dependencies linking. But whatever I try, it doesn't work. I have created a lib A linked

Re: [CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Lucas Soltic
Le 24 mai 2014 à 18:45, Nils Gladitz nilsglad...@gmail.com a écrit : On 24.05.2014 18:15, Lucas Soltic wrote: Hello! I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. From what I understood, setting this property empty for a target avoids transitive dependencies linking.