2 find_package(KDE4 REQUIRED)
4 add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
6 add_definitions(-DQT3_SUPPORT)
8 # fix these warnings after we get it to compile
9 #add_definitions(-DQT3_SUPPORT_WARNINGS)
15 include(ConvenienceLibs.cmake)
17 #include(ManualStuff.cmake)
19 FIND_LIBRARY(GPGME gpgme)
20 IF(NOT GPGME-NOTFOUND)
23 ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
24 ELSE(NOT GPGME-NOTFOUND)
25 MESSAGE("GPG not found, configuring without")
26 ENDIF(NOT GPGME-NOTFOUND)
30 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
31 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
34 #include(ConfigureChecks.cmake)
36 include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
41 message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(TOPSUBDIRS)")
43 ########### install files ###############
48 #original Makefile.am contents follow:
50 #SUBDIRS = $(TOPSUBDIRS)
52 #$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
53 # cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
55 #$(top_srcdir)/subdirs:
56 # cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
58 #$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
59 # @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
61 #MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
64 # $(MAKE) -f admin/Makefile.common package-messages
67 #EXTRA_DIST = admin COPYING configure.in.in
70 # cd $(top_distdir) && perl admin/am_edit -padmin
71 # cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs