KDE/kdepim/kontact/plugins/kmail

Alexander Neundorf neundorf at kde.org
Tue Aug 29 18:48:52 CEST 2006


On Tuesday 29 August 2006 09:36, Stephan Kulow wrote:
> Am Samstag, 26. August 2006 16:16 schrieb Stephan Kulow:
> > SVN commit 577387 by coolo:
> >
> > I was unable to specify inter directory dependencies in a sane
> > way ;(
> > CCMAIL: kde-buildsystem at kde.org
> >
> >
> >  M  +5 -0      CMakeLists.txt
> >
> >
> > --- trunk/KDE/kdepim/kontact/plugins/kmail/CMakeLists.txt #577386:577387
> > @@ -26,6 +26,11 @@
> >
> >  install(TARGETS kontact_kmailplugin  DESTINATION ${PLUGIN_INSTALL_DIR})
> >
> > +set_source_files_properties( kmail_plugin.cpp OBJECT_DEPENDS
> > ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h ) +
> > +ADD_CUSTOM_COMMAND(OUTPUT
> > ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h +	COMMAND make -C
> > ${CMAKE_BINARY_DIR}/kmail globalsettings_base.o ) +
> >  ########### next target ###############
>
> There has to be a way to fix this correctly! So where are you cmake gurus?

Try adding ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h to the list of 
source files for kontact_kmailplugin.
If there are no bugs left in cmake 2.4.3, this will make it work with cmake 
2.4.3. 
This is actually the main reason why I want to require cmake 2.4.3.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list