File: CMakeLists.txt

package info (click to toggle)
strigiapplet 0.5.7-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 320 kB
  • ctags: 209
  • sloc: cpp: 1,767; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PROJECT (strigiapplet)
set(STRIGI_VERSION_MAJOR 0)
set(STRIGI_VERSION_MINOR 5)
set(STRIGI_VERSION_PATCH 7)

CMAKE_MINIMUM_REQUIRED(VERSION 2.4.2 FATAL_ERROR)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

find_package(KDE3 REQUIRED)
find_package(Strigi REQUIRED)
find_package(Poppler)
find_package(LibExtractor)

SUBDIRS (src)

SET (LIB_DESTINATION "lib" CACHE STRING "Library directory suffix")

CONFIGURE_FILE(
  "${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
  "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
  IMMEDIATE @ONLY)

ADD_CUSTOM_TARGET(uninstall
  "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")