Clinton Stimpson wrote:

> I'm trying to point out that I did not get a warning when I was using
> cmake_minimum_required(VERSION 2.8)
> set_target_properties(mytarget PROPERTIES LINK_INTERFACE_LIBRARIES "")
> with
> CMake 2.8.12.
> 
> That looks like a bug.

The policy warning is only issued if 

1) Both LINK_INTERFACE_LIBRARIES and INTERFACE_LINK_LIBRARIES are set on a 
single target (either by using set_property or by using the various 
target_link_libraries signatures).

2) You export() or install(EXPORT) a target which has 
LINK_INTERFACE_LIBRARIES set, but which does not use the new 
EXPORT_LINK_INTERFACE_LIBRARIES option to those commands to cause it to be 
exported to the targets file, even though the policy is set to NEW.


There may be a bug there, or a chance to emit a warning we're not currently 
emitting. Please file a bug with a testcase if that is the case.

Thanks,

Steve.


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to