~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to dolphin-plugins/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-14 15:11:09 UTC
  • mfrom: (0.4.22)
  • Revision ID: package-import@ubuntu.com-20120614151109-t9h5vc8qga2sz5yo
Tags: 4:4.8.90-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cmake_minimum_required(VERSION 2.6)
 
2
project(dolphin-plugins)
 
3
find_package(KDE4 REQUIRED)
 
4
include(KDE4Defaults)
 
5
include(MacroLibrary)
 
6
 
 
7
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
 
8
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
 
9
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIR})
 
10
 
 
11
macro_optional_find_package(LibKonq REQUIRED)
 
12
macro_log_feature(LIBKONQ_FOUND "KDE-Base/LibKonq" "Provides high-level file management functions." "http://dolphin.kde.org/" FALSE "" "Required to build the Dolphin version control plugins.")
 
13
 
 
14
if(LIBKONQ_FOUND)
 
15
  macro_optional_add_subdirectory(svn)
 
16
  macro_optional_add_subdirectory(git)
 
17
  macro_optional_add_subdirectory(hg)
 
18
  macro_optional_add_subdirectory(bazaar)
 
19
endif(LIBKONQ_FOUND)
 
20
macro_display_feature_log()