Cleaning up KDevelop's CMake

Milian Wolff mail at milianw.de
Wed Jan 15 13:06:03 UTC 2014


On Wednesday 15 January 2014 09:36:53 David Faure wrote:
> On Tuesday 10 December 2013 00:38:41 Milian Wolff wrote:
> > From reading the docs, I cannot figure out what this means nor what I
> > should  do to get rid of these warnings. Should I just replace this by
> > INTERFACE_LINK_LIBRARIES? But that cannot be backwards-compatible with
> > older  CMake versions, or?
> 
> I'm no expert, but given the complete lack of reply, let me try....
> 
> I think the choices are
> 1) set the policy CMP0022 to OLD, to silence the warning so that the code
> keeps working with older cmake versions
> 2) fix the code and require cmake 2.8.12

Sorry, I should have replied to my own email earlier: I think I've fixed this 
by requiring a newer cmake version and LINK_PUBLIC/LINK_PRIVATE keywords.

Thanks & Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de


More information about the Kde-buildsystem mailing list