From ba801f6c50347ea35f291688117695e8273cc649 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Mon, 22 Jul 2024 08:31:39 +0000 Subject: [PATCH] sync: from linuxdeepin/qt5integration Synchronize source files from linuxdeepin/qt5integration. Source-pull-request: https://github.com/linuxdeepin/qt5integration/pull/234 --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a7cb0a..6f6cf7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,9 +105,8 @@ endfunction() find_package(Dtk${VERSION_SUFFIX} REQUIRED COMPONENTS Widget) option(ENABLE_QT_XDG_ICON_LOADER "Enable QtXdgIconLoader" ON) -find_package(Qt${QT_VERSION_MAJOR}XdgIconLoader) -find_package(Qt${QT_VERSION_MAJOR}Xdg REQUIRED) -if (NOT Qt${QT_VERSION_MAJOR}XdgIconLoader_FOUND) +find_package(Qt${QT_VERSION_MAJOR}Xdg) +if (NOT Qt${QT_VERSION_MAJOR}Xdg_FOUND) message(WARNING " Qt${QT_VERSION_MAJOR}XdgIconLoader Not Found, DISABLE QtXdgIconLoader !") set (ENABLE_QT_XDG_ICON_LOADER OFF) endif()