[SOLVED] Re: cmake 2.4.* does not create moc files in kdepimlibs

Allen Winter winter at kde.org
Sun Aug 13 15:57:04 CEST 2006


On Saturday 12 August 2006 18:05, Alexander Neundorf wrote:
> On Saturday 12 August 2006 23:11, Friedrich W. H. Kossebau wrote:
> ...
> > By digging for the last revision that builds, for example, and checking
> > every single change to the first that doesn't. With some luck it was
> > already the second change, which triggered the failed build:
> >
> > The passing of 1 as a variable to the macro "macro_bool_to_01" was the
> > culprit. CMakeLists.txt in kdepimlibs contained
> > 	macro_bool_to_01(LDAP_FOUND HAVE_LDAP 1)
> > and
> > 	macro_bool_to_01(SASL2_FOUND HAVE_SASL2 1)
> >
> > Removing the 1 made sense and gave me a working build again, hurra :)
> > Just don't ask how many hours were spend :/
> 
> Cool that you found it, this one wasn't easy.
> So maybe this had the effect that "1" was set to "0" or something like that...
> 
kdelibs/kimgio/CMakeLists.txt has three lines like this.

I am updating the cmakelint.pl script to look for this problem.

-- 
KDE: Same Thing We Do Everyday... Try to Conquer the World



More information about the Kde-buildsystem mailing list