Commit d5d9b12f authored by Nicolas Fella's avatar Nicolas Fella Committed by Matthieu Gallien
Browse files

Don't find KIO on Android

KIO partially exists on Android so CMake will find it, however KIOFileWidgets does not exist on Android so the build will fail
parent 24d119d8
Pipeline #77168 passed with stage
in 8 minutes and 29 seconds
......@@ -136,15 +136,12 @@ set_package_properties(KF5Package PROPERTIES
DESCRIPTION "KF5 package management library needed to get the configuration dialogs."
TYPE RECOMMENDED)
find_package(KF5KIO ${REQUIRED_KF5_VERSION} CONFIG QUIET)
if (ANDROID)
set(KIO_DEPENDENCY_TYPE OPTIONAL)
else()
set(KIO_DEPENDENCY_TYPE REQUIRED)
if (NOT ANDROID)
find_package(KF5KIO ${REQUIRED_KF5_VERSION} CONFIG QUIET)
set_package_properties(KF5KIO PROPERTIES
DESCRIPTION "File management libraries used for file browsing."
TYPE REQUIRED)
endif()
set_package_properties(KF5KIO PROPERTIES
DESCRIPTION "File management libraries used for file browsing."
TYPE ${KIO_DEPENDENCY_TYPE})
find_package(UPNPQT CONFIG QUIET)
set_package_properties(UPNPQT PROPERTIES
......
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