dolphin/CMakeLists.txt
2012-12-30 11:59:35 +01:00

64 lines
2.1 KiB
CMake

project(KDEBASE_APPS)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules )
include(CTest)
include(CTestConfig.cmake)
#search packages used by KDE
find_package(KDE4 4.9.80 REQUIRED)
include (KDE4Defaults)
find_package(Strigi)
set_package_properties(Strigi PROPERTIES DESCRIPTION "Desktop indexing and search support"
URL "http://strigi.sourceforge.net"
TYPE REQUIRED
)
find_package(ZLIB)
set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams"
URL "http://www.zlib.net"
TYPE REQUIRED
PURPOSE "Required for building Konqueror"
)
find_package(KActivities 6.1.0)
set_package_properties(KActivities PROPERTIES DESCRIPTION "Interface library for the activity manager"
URL "https://projects.kde.org/kactivities"
TYPE RECOMMENDED
PURPOSE "Needed for Dolphin integration with activities"
)
include(ConfigureChecks.cmake)
configure_file (config-apps.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-apps.h )
include_directories (${CMAKE_CURRENT_BINARY_DIR})
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DDISABLE_NEPOMUK_LEGACY)
add_definitions (-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/lib/konq ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
if ( KActivities_FOUND )
include_directories (${KACTIVITIES_INCLUDE_DIR})
endif ( KActivities_FOUND )
add_subdirectory( lib )
add_subdirectory( dolphin )
add_subdirectory( kdialog )
add_subdirectory( keditbookmarks )
add_subdirectory( konqueror )
add_subdirectory( kfind )
add_subdirectory( plasma )
add_subdirectory( konq-plugins )
if ( Q_WS_MAC )
add_subdirectory( kdepasswd )
endif ( Q_WS_MAC )
if ( Q_WS_X11 )
add_subdirectory( nsplugins )
add_subdirectory( kdepasswd )
endif ( Q_WS_X11 )
macro_optional_add_subdirectory( doc )
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)