Require QCoro 0.4

This commit is contained in:
Nicolas Fella
2022-11-28 03:05:55 +01:00
parent cba4fdc397
commit 76f686b580
2 changed files with 2 additions and 10 deletions

View File

@@ -112,10 +112,7 @@ set_package_properties(KQuickImageEditor PROPERTIES
PURPOSE "Add image editing capability to image attachments"
)
find_package(QCoro${QT_MAJOR_VERSION} COMPONENTS Core QUIET)
if(NOT QCoro${QT_MAJOR_VERSION}_FOUND)
find_package(QCoro REQUIRED)
endif()
find_package(QCoro${QT_MAJOR_VERSION} 0.4 COMPONENTS Core REQUIRED)
qcoro_enable_coroutines()