From d5f645730ae97b8004b6fefcdb353540ff367d82 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Fri, 28 Oct 2022 19:46:48 -0700 Subject: [PATCH] cmake: allow qt6 and qt5 matching --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c15a6b67..97567dd55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,7 @@ set(QT_LIBRARIES if (UNIX AND NOT APPLE) list(APPEND QT_LIBRARIES DBus) endif() -find_package(QT NAMES Qt6 REQUIRED +find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS ${QT_LIBRARIES} OPTIONAL_COMPONENTS