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

Brad King brad.king at kitware.com
Thu Jul 25 13:35:42 EDT 2013


On 07/25/2013 01:25 PM, Stephen Kelly wrote:
> I still think IMPORTED=SYSTEM by *default* is a good idea, 
> and let the edge case switch it back.

What interface do you propose to switch it back?

There is also the common use case of having ExternalProject
create a custom target to drive a third-party build system
even of in-tree source code and using imported targets to
link the libraries.  It should be easy to get non-system
includes in this case.

-Brad



More information about the cmake-developers mailing list