Commit 3f3e2fb6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Bug in qt was fixed, so exclude only 5.13.0

parent 98d3175a
......@@ -77,7 +77,7 @@ install(FILES
install(EXPORT KF5KontactInterfaceTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE KF5KontactInterfaceTargets.cmake NAMESPACE KF5::)
# workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 reevaluate it)
if (${Qt5Widgets_VERSION} STRGREATER "5.13")
if (${Qt5Widgets_VERSION} STREQUAL "5.13.0")
MESSAGE(STATUS "Qt version: ${Qt5Widgets_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665")
else()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
......
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