~ubuntu-branches/ubuntu/raring/kbibtex/raring

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2011-07-18 09:29:48 UTC
  • mfrom: (1.1.6) (2.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20110718092948-ksxjmg7kdfamolmg
Tags: 0.3-1
* First upstream release for KDE4 (Closes: #634255). A number of search
  engines are still missing, in comparison to the 0.2 series.
* Bumped Standards-Version to 3.9.2, no changes necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project( kbibtex )
 
2
 
 
3
cmake_minimum_required(VERSION 2.6)
 
4
 
 
5
set(MANDIR "share/man" CACHE STRING "Where to install manpages")
 
6
 
 
7
find_package( Qt4 REQUIRED )
 
8
find_package( KDE4 REQUIRED )
 
9
 
 
10
# FIXME may have to be cleaned up a little bit
 
11
# Contributed by Jeremy Cribb <cribb.jeremy@gmail.com>
 
12
IF(APPLE)
 
13
  FIND_LIBRARY(SYS_CONFIG_LIBRARY SystemConfiguration )
 
14
  MARK_AS_ADVANCED(SYS_CONFIG_LIBRARY)
 
15
# SET(TARGET_EXTERNAL_LIBRARIES iconv ${SYS_CONFIG_LIBRARY})
 
16
   SET(ICONV_INCLUDE_DIR   "/opt/local/include")
 
17
   SET(ICONV_LIBRARIES     "/opt/local/lib/libiconv.dylib")
 
18
   SET(LIBXSLT_LIBRARIES   "/opt/local/lib/libxslt.dylib")
 
19
ENDIF(APPLE)
 
20
 
 
21
find_package(LibXslt)
 
22
macro_log_feature(LIBXSLT_FOUND "LibXSLT" "A library to transform XML files
 
23
into other XML files" "http://xmlsoft.org/XSLT" TRUE "" "Required to transform
 
24
XML files")
 
25
 
 
26
find_package(LibXml2)
 
27
macro_log_feature(LIBXML2_FOUND "LibXML2" "Libraries used to develop XML
 
28
applications" "http://xmlsoft.org" TRUE "" "Required to transform XML files")
 
29
 
 
30
find_package(PopplerQt4)
 
31
 
 
32
add_subdirectory( src )
 
33
add_subdirectory( config )
 
34
add_subdirectory( xslt )
 
35
add_subdirectory( icons )
 
36
add_subdirectory( man )
 
37
add_subdirectory( mime )