Commit 4e343d19 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Readd it I maintain it so it's my problem

parent 30620a7c
...@@ -37,6 +37,10 @@ include(GenerateExportHeader) ...@@ -37,6 +37,10 @@ include(GenerateExportHeader)
add_definitions(-DTRANSLATION_DOMAIN="kdebugsettings") add_definitions(-DTRANSLATION_DOMAIN="kdebugsettings")
add_definitions(-DQT_NO_FOREACH) 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()
configure_file(config-kdebugsettings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdebugsettings.h) configure_file(config-kdebugsettings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdebugsettings.h)
......
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