diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
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) |
15 | include(ECMGenerateHeaders) | 15 | include(ECMGenerateHeaders) |
16 | include(ECMPackageConfigHelpers) | 16 | include(ECMPackageConfigHelpers) |
17 | # include(KDEInstallDirs) | 17 | include(KDEInstallDirs) |
18 | # include(KDEFrameworkCompilerSettings) | 18 | # include(KDEFrameworkCompilerSettings) |
19 | # include(KDECMakeSettings) | 19 | # include(KDECMakeSettings) |
20 | 20 | ||
21 | find_package(Qt5Core REQUIRED) | 21 | find_package(Qt5 COMPONENTS REQUIRED Core Widgets Network) |
22 | |||
22 | find_package(FlatBuffers REQUIRED) | 23 | find_package(FlatBuffers REQUIRED) |
23 | function(generate_flatbuffers) | 24 | function(generate_flatbuffers) |
24 | foreach(fbs ${ARGN}) | 25 | foreach(fbs ${ARGN}) |
@@ -41,7 +42,8 @@ include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/common) | |||
41 | 42 | ||
42 | configure_file(hawd.conf hawd.conf) | 43 | configure_file(hawd.conf hawd.conf) |
43 | 44 | ||
44 | set(AKONADI2_RESOURCE_PLUGINS_PATH plugins/akonadi2/resources) | 45 | set(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 |
46 | add_subdirectory(common) | 48 | add_subdirectory(common) |
47 | 49 | ||