SVN_SILENT made messages (.desktop file)
[kdeartwork.git] / CMakeLists.txt
blob457e41286356cceda6f0a82e9f63d022016fbc28
1 project(kdeartwork)
3 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
5 # search packages used by KDE
6 find_package(KDE4 REQUIRED)
7 include (KDE4Defaults)
8 include (MacroLibrary)
9 include(MacroOptionalAddSubdirectory)
11 # are these one really required here ?
12 if (APPLE)
13    find_package(Carbon REQUIRED)
14 endif (APPLE)
16 macro_optional_find_package(Xscreensaver)
18 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} )
19 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
22 macro_optional_add_subdirectory(IconThemes)
23 macro_optional_add_subdirectory(emoticons)
24 if (Q_WS_X11)
25    macro_optional_add_subdirectory(kscreensaver)
26    MESSAGE(STATUS "Remember to readd kwin-style when ported")
27    #macro_optional_add_subdirectory(kwin-styles)
28    macro_optional_add_subdirectory(icewm-themes)
29 endif (Q_WS_X11)
31 macro_optional_add_subdirectory(kworldclock)
32 macro_optional_add_subdirectory(sounds)
33 macro_optional_add_subdirectory(styles)
34 macro_optional_add_subdirectory(wallpapers)
35 add_subdirectory( cmake )