Commit b04fbd88 authored by David Edmundson's avatar David Edmundson
Browse files

Revert "Revert "GIT_SILENT: it compiles fine without deprecated method""

This reverts commit dc45cf7a.
parent dc45cf7a
......@@ -41,6 +41,10 @@ endif()
set(KDECORATION2_INCLUDEDIR "${KDE_INSTALL_INCLUDEDIR}/KDecoration2")
find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
# Subdirectories
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