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

2006-08-14 Thread William A. Hoffman
At 06:10 AM 8/13/2006, Friedrich W. H. Kossebau wrote: As Alex suggested, perhaps the reason is that 1 is treated as a plain variable and set to 0 (LDAP_FOUND was FALSE for me) and in the consequence in AND expressions, which are internally using perhaps 1, true and true is always evaluated to

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

2006-08-13 Thread Alexander Neundorf
On Sunday 13 August 2006 04:06, William A. Hoffman wrote: At 05:11 PM 8/12/2006, Friedrich W. H. Kossebau wrote: 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

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

2006-08-13 Thread Friedrich W. H. Kossebau
Am Sonntag, 13. August 2006 04:06, schrieb William A. Hoffman: At 05:11 PM 8/12/2006, Friedrich W. H. Kossebau wrote: 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

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

2006-08-13 Thread Friedrich W. H. Kossebau
Am Sonntag, 13. August 2006 02:05, schrieb Matt Rogers: On Saturday 12 August 2006 17: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

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

2006-08-12 Thread Friedrich W. H. Kossebau
Am Freitag, 11. August 2006 13:05, schrieb Friedrich W. H. Kossebau: Hi, cmake 2.4.* seems to fail creating moc files in kdepimlibs (current svn). [ 0%] Building CXX object kxmlrpcclient/CMakeFiles/kxmlrpcclient.dir/server.o

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

2006-08-12 Thread Alexander Neundorf
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

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

2006-08-12 Thread Matt Rogers
On Saturday 12 August 2006 17: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

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

2006-08-12 Thread William A. Hoffman
At 05:11 PM 8/12/2006, Friedrich W. H. Kossebau wrote: 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