[cmake-developers] target_link_libraries, IMPORTED targets and SYSTEM includes

Brad King brad.king at kitware.com
Tue Sep 10 12:59:46 EDT 2013


On 09/10/2013 12:20 PM, Stephen Kelly wrote:
> Brad King wrote:
>> Do we really need a policy?  Without one, projects will magically
>> start building with fewer unnecessary warnings.
> 
> I'm fine with not controlling this with a policy. An abundance of caution 
> led me to introduce one for it, but I'll happily remove it.

Since it is easy to restore the old behavior by adding a variable
to the local CMakeCache.txt I do not think we need a policy.  Also
INTERFACE_INCLUDE_DIRECTORIES is new enough it probably isn't used
too widely yet anyway.

-Brad



More information about the cmake-developers mailing list