Commit e77100e1 authored by Laurent Montel's avatar Laurent Montel 😁

Fix check

parent 8301e547
......@@ -22,13 +22,6 @@ include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
include(ECMCoverageOption)
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")
endif()
set(LIBKDEPIM_LIB_VERSION ${PIM_VERSION})
set(AKONADICONTACT_LIB_VERSION "5.7.40")
set(QT_REQUIRED_VERSION "5.8.0")
......@@ -81,6 +74,12 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/MailTransportDBusServiceConfig.cmake
DESTINATION "${CMAKECONFIG_INSTALL_PREFIX}/MailTransportDBusService")
if(NOT CMAKE_VERSION VERSION_LESS "3.10.0" AND KF5_VERSION VERSION_LESS "5.42.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.
# KF5 >= 5.42 takes care itself of adding its macros in its cmake config files
list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "K_PLUGIN_FACTORY_WITH_JSON")
endif()
add_subdirectory(src)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment