summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <[email protected]>2015-07-20 18:09:03 +0200
committerMartin Klapetek <[email protected]>2015-07-20 18:09:03 +0200
commit3e597e7ea88e3afd2ebe4b7515a30e8729ad1939 (patch)
tree30398cc655430e344b03043c244acf432cb7c64c
parente94770d116649bbbbbade7949c06f3514220576a (diff)
Add KACCOUNTS_MACROS_PATH into the CMAKE_MODULE_PATH
KAccountsMacros should now be found and that should fix the build
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64907c6..c15a07f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,6 +23,8 @@ find_package (TelepathyQt5 REQUIRED)
find_package (KAccounts REQUIRED)
find_package (Intltool REQUIRED) #needed to generate service and provider files
+set(CMAKE_MODULE_PATH ${KACCOUNTS_MACROS_PATH} ${CMAKE_MODULE_PATH}) #for KAccountsMacros
+
# make some more macros available
# include (MacroLibrary)
@@ -32,6 +34,7 @@ include(KDEFrameworkCompilerSettings)
include(KDECompilerSettings)
include(ECMInstallIcons)
include(FeatureSummary)
+include(KAccountsMacros)
add_definitions (
# -DQT_NO_CAST_FROM_ASCII