Commit 21afcd09 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: it compiles fine without deprecated kf5 method

parent a10c41d0
......@@ -45,6 +45,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"libkblog5\")
add_definitions(-DQT_NO_FOREACH)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
########### Targets ###########
......
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