Correct way to set target include directory property ?

Stephen Kelly steveire at gmail.com
Thu Jul 18 19:21:44 UTC 2013


Alexander Neundorf wrote:

> Hi,
> 
> I just made kconfigwidgets build also standalone[1].
> 
> It didn't work immediately, since it didn't have the correct include dirs
> set. As I understand it, they should come from the KWidgetsAddons and
> KConfig libraries it links against, but those do not yet set them.
> 
> Attached is what I committed to set the include directory properties for
> those libraries.
> Is this the correct way to do it or is there a better way ?
> 

There is, yes.

See the install-interface-includes branch in next. We can make it part of 
INSTALL_TARGETS_DEFAULT_ARGS when we depend on CMake 2.8.12.

Thanks,

Steve.




More information about the Kde-frameworks-devel mailing list