[cmake-developers] CMake 2.8.12 transitive link regression?
Brad King
brad.king at kitware.com
Mon Nov 4 09:48:57 EST 2013
On 11/02/2013 07:29 AM, Brad King wrote:
> Policy CMP0022's NEW behavior is supposed to be that the
> link interface is exactly specified by INTERFACE_LINK_LIBRARIES.
> Therefore in this case the plain tll signature should go
> ahead and populate *both* INTERFACE_LINK_LIBRARIES *and*
> LINK_LIBRARIES.
After working through the details of this over the weekend
the fix and a bunch of tests are now in master. It ended
up taking several commits. The main one is:
CMP0022: Plain target_link_libraries must populate link interface
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ef10b87c
Two other important changes are:
Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23d21b78
CMP0022: Warn about a given target at most once
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a561a03
I plan to include all this in 2.8.12.1. Please test ASAP.
Thanks,
-Brad
More information about the cmake-developers
mailing list