Commit c7898613 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Core5Compat is not necessary now

parent 8f29131b
Pipeline #117534 failed with stage
in 23 seconds
......@@ -31,9 +31,6 @@ kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Widgets)
if (QT_MAJOR_VERSION STREQUAL "6")
find_package(Qt6Core5Compat)
endif()
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n CoreAddons Completion XmlGui)
find_package(KF5DocTools ${KF5_MIN_VERSION})
set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
......@@ -54,9 +51,6 @@ ecm_qt_declare_logging_category(kfloppy HEADER kfloppy_debug.h IDENTIFIER KFLOPP
target_link_libraries(kfloppy KF5::CoreAddons KF5::I18n KF5::Completion KF5::XmlGui Qt${QT_MAJOR_VERSION}::DBus KF5::Crash)
if (TARGET Qt6::Core5Compat)
target_link_libraries(kfloppy Qt6::Core5Compat) # QRegExp
endif()
install(TARGETS kfloppy ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
......
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