3 # Find the requisite packages
4 FIND_PACKAGE(KDE3 REQUIRED)
5 INCLUDE_DIRECTORIES(${KDE3_INCLUDE_DIRS})
6 ADD_DEFINITIONS(${QT_DEFINITIONS} ${KDE3_DEFINITIONS})
7 LINK_DIRECTORIES(${QT_LIB_DIR} ${KDE3_LIB_DIR})
9 FIND_LIBRARY(GPGME gpgme)
10 IF(NOT GPGME-NOTFOUND)
13 ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
14 ELSE(NOT GPGME-NOTFOUND)
15 MESSAGE("GPG not found, configuring without")
16 ENDIF(NOT GPGME-NOTFOUND)
18 #TODO: use KDE's settings for this
19 FIND_PROGRAM(MEINPROC meinproc)
20 set(KDE4_MEINPROC_EXECUTABLE ${MEINPROC})
22 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
23 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})