Commit 86cab3ac authored by Nicolas Fella's avatar Nicolas Fella
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

(cherry picked from commit d5d9b12f)
parent 8c00f234
Pipeline #78106 skipped
......@@ -135,15 +135,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