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

Zsuró Tibor zsurotibor at gmail.com
Mon Nov 5 15:12:48 UTC 2012


Hi!

I' wrinting a game for KDE and I use this:


http://techbase.kde.org/Projects/Games/Porting_to_libkdegames_v5#Build_system_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?

Zsuró Tibor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20121105/db876c3e/attachment.html>


More information about the kde-games-devel mailing list