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

Albert Astals Cid aacid at kde.org
Mon Nov 5 19:00:59 UTC 2012


El Dilluns, 5 de novembre de 2012, a les 19:58:52, Zsuró Tibor va escriure:
> Thank you Albert!

Does that mean that that works?

If so can you please update the wiki?

Cheers,
  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_sys
> > te> 
> > > 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


More information about the kde-games-devel mailing list