CMakelists.txt adjustement
[musik.git] / CMakeLists.txt
blobf2d86f55f3218d0f61d8c077054865bc0f72d25a
1 PROJECT(musik)
3 CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6)
5 FIND_PACKAGE(KDE4 REQUIRED)
7 INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} )
8 INCLUDE(KDE4Defaults)
9 INCLUDE(MacroLibrary)
11 SET ( MY_SOURCES main.cpp musikclass.cpp musikedit.cpp )
12 MESSAGE ( STATUS "my sources: ${MY_SOURCES}" )
14 INCLUDE_DIRECTORIES (
15         ${CMAKE_CURRENT_SOURCE_DIR}
16         ${CMAKE_CURRENT_BINARY_DIR}
17         )
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} )