CMakeLists.txt 607 Bytes
Newer Older
1 2
project(lskat)

3 4 5 6 7 8 9 10 11 12 13
if(NOT COMPILING_KDEGAMES)
	find_package(KDE4 REQUIRED)
	include(KDE4Defaults)
	include(MacroLibrary)
	find_package(KDEGames REQUIRED)

	add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
	add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
	include_directories(${QDBUS_INCLUDE_DIRS} ${KDE4_INCLUDES} ${KDEGAMES_INCLUDE_DIRS})
endif(NOT COMPILING_KDEGAMES)

14
add_subdirectory(src)
15
add_subdirectory(grafix)
16 17

########### install files ###############
Laurent Montel's avatar
Laurent Montel committed
18
install( PROGRAMS lskat.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
19

Martin Heni's avatar
Martin Heni committed
20
kde4_install_icons( ${ICON_INSTALL_DIR}   )
21