[CMake] CMP0022 not set

2015-11-11 Thread Jack Stalnaker
I'm getting a new warning from cmake version 2.8.12 Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. etc... Target "xxx" has an INTERFACE_LINK_PROPERTIES property ... I've not set this property anywhere explicitly. I'm getting the warning from a target_link_librari

[CMake] SuperProject package/install

2015-11-11 Thread Rob McDonald
All, I have a SuperProject set up with ExternalProject_add the way some other projects do. The SuperProject has two EP's -- Libraries and Main. Libraries has a bunch of its own EP's. Main is my core project. When some users use this setup, they're confused at the end -- everything has worked,

[CMake] Regression in 3.3.2 for linking

2015-11-11 Thread Tom Kacvinsky
I am seeing a regression is 3.3.2 (compiled from source on 64 bit Linux - CentOS 5.0) in the link phase whereby libraries/object files are repeated on the link line, resulting in multiple definition errors (and I don't want to use -Wl,-z,muldefs). There is also another issue where Qt shared librar

Re: [CMake] Configuration dependent link

2015-11-11 Thread Stephan Menzel
I have investigated further into this and still have no solution, but a hint, which anyone may be able to confirm. It appears like I was led astray by a number of bugs in target_link_libraries() which I was mistaking for intentional behavior and so I started to re-create the behavior manually. Whi