Please review: cmake check for Cagibi

Alexander Neundorf neundorf at kde.org
Tue Aug 24 21:24:15 CEST 2010


On Tuesday 24 August 2010, Friedrich W. H. Kossebau wrote:
> Mardi, le 24 août 2010, à 20:40, vous avez écrit:
> > On Monday 23 August 2010, Friedrich W. H. Kossebau wrote:
> > The following 4 lines should be good enough:
> >
> > find_program(CAGIBI_DAEMON NAMES cagibid)
> > include(FindPackageHandleStandardArgs)
> > find_package_handle_standard_args(Cagibi  DEFAULT_MSG  CAGIBI_DAEMON)
> > mark_as_advanced(CAGIBI_FOUND CAGIBI_DAEMON)
> >
> >
> > Support for checking the version will come soon to FPHSA(), don't start
> > with FOO_MIN_VERSION now.
> >
> > Maybe you could also rename the file to FindCagibiDaemon.cmake to make
> > very clear what it does, as name for the variable I would suggest
> > CAGIBI_DAEMON_EXECUTABLE.
>
> So okay to commit the attached patch, both to trunk and 4.5 branch?

...and remove the MIN_VERSION from the CMakeLists.txt.
Soon 
find_package(CagibiDaemon 0.1.1)
will be possible.

Alex



More information about the Kde-buildsystem mailing list