3 find_package(KDE4 REQUIRED)
7 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
8 ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules )
9 add_definitions(-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
10 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w") #we're still worrying about all the errors
12 find_package(Taglib REQUIRED)
13 find_package(RUBY REQUIRED)
15 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1)
16 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${TAGLIB_INCLUDES})
18 include (ConfigureChecks.cmake)
19 configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
21 macro_optional_find_package(Njb)
22 macro_optional_find_package(Sqlite)
23 macro_optional_find_package(Ifp)
24 macro_optional_find_package(MySQL)
25 macro_optional_find_package(PostgreSQL)
26 macro_optional_find_package(Libvisual)
27 macro_optional_find_package(Mp4v2)
28 macro_optional_find_package(Xine)
29 macro_optional_find_package(Helix)
30 macro_optional_find_package(Mtp)
31 macro_optional_find_package(GObject)
32 macro_optional_find_package(GStreamer)
34 add_subdirectory( src )