aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-11 13:57:45 +0100
committerMontel Laurent <[email protected]>2017-12-11 13:57:45 +0100
commit159051ca11558920f44a244fc7e12fadc638ba39 (patch)
tree3664b92f586a90077572e68e07e22ab389ee6555
parent8467bf7192b14bd73aa2f5c088bcef4e83c99813 (diff)
Fix cmake warning
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2c94a5..b0c8a03 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@ if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
# CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't know about other macros.
# 3.10+ lets us provide more macro names that require automoc.
# Remove this when depending on a Frameworks or ECM version that solves this upstream.
- list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "K_PLUGIN_FACTORY_WITH_JSON")
+ list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "K_PLUGIN_FACTORY_WITH_JSON" "K_PLUGIN_FACTORY")
endif()
set(AKONADI_CONTACTS_VERSION ${PIM_VERSION})