blob: bcaa618654a8773961eaabd520200736e2b6a7a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- ./CMakeLists.txt.orig 2012-04-29 20:39:36.039069000 +0000
+++ ./CMakeLists.txt 2012-05-22 12:35:44.176575376 +0000
@@ -154,7 +154,7 @@
############### Needed commands before building anything ###############
-include_directories(${kdepim-runtime_SOURCE_DIR} ${kdepim-runtime_BINARY_DIR} ${AKONADI_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIRS})
+include_directories(${kdepim-runtime_SOURCE_DIR} ${kdepim-runtime_BINARY_DIR} ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIRS} ${AKONADI_INCLUDE_DIR} ${Boost_INCLUDE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
############### Generate akonadi-config.h ###############
@@ -216,9 +216,9 @@
add_subdirectory(kresources)
endif (KDEPIMLIBS_KRESOURCES_LIBS)
endif(NOT WINCE)
-if (QT_QTDECLARATIVE_FOUND)
+if (KDEPIM_MOBILE_UI AND QT_QTDECLARATIVE_FOUND)
add_subdirectory(qml)
-endif (QT_QTDECLARATIVE_FOUND)
+endif (KDEPIM_MOBILE_UI AND QT_QTDECLARATIVE_FOUND)
#if(OPENSYNC_FOUND)
# add_subdirectory(opensync)
|