[cmake-developers] [CMake] Why does INTERFACE type targets only support whitelisted properties?
taylor at braun-jones.org
Tue Jan 19 15:53:03 EST 2016
On Mon, Jan 11, 2016 at 5:16 PM, Stephen Kelly <steveire at gmaicom> wrote:
> Taylor Braun-Jones wrote:
>> Consider library project Foo that uses a header-only project Bar. In
>> FooConfig.cmake, it is a important to ensure any projects using Foo also
>> use the exact same version of Bar that Foo was originally built with
> COMPATIBLE_INTERFACE_STRING and similar properties are designed for that use
> You would populate an INTERFACE_ property on the INTERFACE target, which is
> whitelisted already:
Thanks - that's exactly what I was looking for!
More information about the cmake-developers