Commit 8af782de authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: it compiles fine without kf5 deprecated method

parent 94e7e158
......@@ -64,6 +64,13 @@ configure_file(config-akonadi-search.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/config
option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")
add_definitions(
-DKCOREADDONS_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
-DKWINDOWSYSTEM_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
-DKWIDGETSADDONS_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
-DKPARTS_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
-DKTEXTWIDGETS_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
-DKSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
endif()
......
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