summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-02-21 12:06:47 +0100
committerDan Vrátil <dvratil@redhat.com>2015-02-21 12:06:47 +0100
commit76ec0cfe075e3af758657f9aecab7d7ce7e8d387 (patch)
treea7aa5d675424d5dda5d9eebcd381ed84849f1510 /CMakeLists.txt
parentd3dfcae4a7a182f55ce52fb5004ce08ca64db9a4 (diff)
downloadsink-76ec0cfe075e3af758657f9aecab7d7ce7e8d387.tar.gz
sink-76ec0cfe075e3af758657f9aecab7d7ce7e8d387.zip
CMake: fix Qt5 lookup, use KDE_INSTALL_TARGETS_DEFAULT_ARGS
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