[Kde-games-devel] KDEGAMES_FOUND doesn't work in CMake

Zsuró Tibor zsurotibor at gmail.com
Mon Nov 5 18:58:52 UTC 2012


Thank you Albert!

Zsuró Tibor

2012/11/5 Albert Astals Cid <aacid at kde.org>

> El Dilluns, 5 de novembre de 2012, a les 16:12:48, Zsuró Tibor va escriure:
> > Hi!
> >
> > I' wrinting a game for KDE and I use this:
> >
> >
> >
> http://techbase.kde.org/Projects/Games/Porting_to_libkdegames_v5#Build_syste
> > m_changes
> >
> > This is in my CMakeLists.txt:
> >
> >    FIND_PACKAGE( KDEGames )
> >    IF( NOT KDEGAMES_FOUND )
> >     MESSAGE( FATAL_ERROR
> >    "----------------------------------------------------------
> >     KDEGames library not found!
> >
> >     Ubuntu: sudo apt-get install libkdegames-dev
> >    ----------------------------------------------------------" )
> >    ENDIF( NOT KDEGAMES_FOUND )
> >
> > I install the libkdegames-dev package ( on Arch too ) always show this
> > message.
> >
> > The
> >
> >    FIND_PACKAGE( KDEGames REQUIRED )
> >
> > is works, but i want show message.
> >
> > Anybody can help me?
>
> Can you try with
>
> IF( NOT KDEGames_FOUND )
>
> note the capitalization matches the one in FIND_PACKAGE
>
> Cheers,
>   Albert
>
> >
> > Zsuró Tibor
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20121105/214cb16f/attachment.html>


More information about the kde-games-devel mailing list