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

GIT_SILENT: use flag only in source from git repo

parent 2f2d2f28
...@@ -43,8 +43,10 @@ if (${KF5Config_VERSION} STRGREATER "5.56.0") ...@@ -43,8 +43,10 @@ if (${KF5Config_VERSION} STRGREATER "5.56.0")
add_definitions(-DQT_NO_FOREACH) add_definitions(-DQT_NO_FOREACH)
MESSAGE(STATUS "compile without foreach") MESSAGE(STATUS "compile without foreach")
endif() endif()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
add_subdirectory(themes) add_subdirectory(themes)
add_subdirectory(sounds) add_subdirectory(sounds)
......
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