Steve,

Likely no one noticed this during the RC cycle because there is no
change in behavior until cmake_minimum_required version is raised
or CMP0022 is set to NEW explicitly.

On 10/29/2013 02:03 PM, Clinton Stimpson wrote:
> target_link_libraries(foo2 foo)
> 
> cmake_minimum_required(VERSION 2.8.12)
> 
> Then foo is dropped and the app links only with foo2, which gives me a link 
> error.

When CMP0022 is NEW the INTERFACE_LINK_LIBRARIES is always the link
interface without the link implementation fallback, but the tll plain
signature does not populate INTERFACE_LINK_LIBRARIES either.  This is
not correct.

Somehow you'll have to track the tll signatures used in order to
populate INTERFACE_LINK_LIBRARIES properly with the plain signature
if no LINK_INTERFACE_LIBRARIES or keyword signature is used.

We'll need a 2.8.12.1 for this, ASAP.

-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to