summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d33281..97c4466 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,11 +14,12 @@ include(GenerateExportHeader)
14#include(ECMSetupVersion) 14#include(ECMSetupVersion)
15include(ECMGenerateHeaders) 15include(ECMGenerateHeaders)
16include(ECMPackageConfigHelpers) 16include(ECMPackageConfigHelpers)
17# include(KDEInstallDirs) 17include(KDEInstallDirs)
18# include(KDEFrameworkCompilerSettings) 18# include(KDEFrameworkCompilerSettings)
19# include(KDECMakeSettings) 19# include(KDECMakeSettings)
20 20
21find_package(Qt5Core REQUIRED) 21find_package(Qt5 COMPONENTS REQUIRED Core Widgets Network)
22
22find_package(FlatBuffers REQUIRED) 23find_package(FlatBuffers REQUIRED)
23function(generate_flatbuffers) 24function(generate_flatbuffers)
24 foreach(fbs ${ARGN}) 25 foreach(fbs ${ARGN})
@@ -41,7 +42,8 @@ include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/common)
41 42
42configure_file(hawd.conf hawd.conf) 43configure_file(hawd.conf hawd.conf)
43 44
44set(AKONADI2_RESOURCE_PLUGINS_PATH plugins/akonadi2/resources) 45set(AKONADI2_RESOURCE_PLUGINS_PATH ${QT_PLUGIN_INSTALL_DIR}/akonadi2/resources)
46
45# common, eventually a lib but right now just the command buffers 47# common, eventually a lib but right now just the command buffers
46add_subdirectory(common) 48add_subdirectory(common)
47 49