[Kde-games-devel] git conversion kmahjongg

Mathias Kraus k.hias at gmx.de
Tue Mar 13 22:50:29 UTC 2012


Am Dienstag, 13. März 2012, 21:20:59 schrieb Stefan Majewsky:
> On Tue, Mar 13, 2012 at 8:23 PM, Christian Krippendorf
> 
> <Coding at christian-krippendorf.de> wrote:
> > find_package(KDE4 REQUIRED)
> > include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}
> > ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
> 
> I think the actual idiom is:
> 
> find_package(KDE4 REQUIRED)
> include(KDE4Defaults)
> include_directories(${KDE4_INCLUDES})

well, in granatier I do just the following and it works quite good

if (NOT KDE4_FOUND)
  find_package(KDE4 REQUIRED)
  include(KDE4Defaults)
  include_directories(${KDE4_INCLUDES})
endif (NOT KDE4_FOUND)


Greetings
Mathias

> 
> Greetings
> Stefan
> _______________________________________________
> 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