3 CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6)
5 FIND_PACKAGE(KDE4 REQUIRED)
7 INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} )
11 SET ( MY_SOURCES main.cpp musikclass.cpp musikedit.cpp )
12 MESSAGE ( STATUS "my sources: ${MY_SOURCES}" )
15 ${CMAKE_CURRENT_SOURCE_DIR}
16 ${CMAKE_CURRENT_BINARY_DIR}
20 KDE4_ADD_EXECUTABLE( musik ${MY_SOURCES} )
22 TARGET_LINK_LIBRARIES( musik ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_PHONON_LIBS} )
24 INSTALL(TARGETS musik ${INSTALL_TARGETS_DEFAULT_ARGS} )
26 KDE4_INSTALL_ICONS( ${ICON_INSTALL_DIR} )