Commit a5adf445 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Make NMQT dependency optional

parent 9a6d2221
......@@ -60,10 +60,10 @@ find_package(KF5WidgetsAddons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5WindowSystem ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5XmlGui ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Crash ${KF5_VERSION} CONFIG REQUIRED)
if (UNIX AND NOT APPLE)
find_package(KF5NetworkManagerQt ${KF5_VERSION} CONFIG REQUIRED)
set(HAVE_NMQT TRUE)
endif()
find_package(KF5NetworkManagerQt ${KF5_VERSION} CONFIG)
set_package_properties(KF5NetworkManagerQt PROPERTIES TYPE OPTIONAL)
set(HAVE_NMQT ${KF5NetworkManagerQt_FOUND})
find_package(Qt5Designer NO_MODULE)
set_package_properties(Qt5Designer 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