diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ce9dc6a87..6a1a8c59c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -353,7 +353,8 @@ set_package_properties(QAccessibilityClient6 PROPERTIES set(HAVE_ACCESSIBILITY ${QAccessibilityClient6_FOUND}) find_package(KGlobalAccelD REQUIRED) -pkg_search_module(libdisplayinfo REQUIRED IMPORTED_TARGET libdisplay-info) +pkg_check_modules(libdisplayinfo REQUIRED IMPORTED_TARGET libdisplay-info) +add_feature_info(libdisplayinfo libdisplayinfo_FOUND "EDID and DisplayID library: https://gitlab.freedesktop.org/emersion/libdisplay-info") ecm_find_qmlmodule(QtQuick 2.3) ecm_find_qmlmodule(QtQuick.Controls 2.15)