various: ensure qt 5 compatibility
This commit is contained in:
+5
-1
@@ -106,7 +106,11 @@ set(QT_LIBRARIES
|
||||
if (UNIX AND NOT APPLE)
|
||||
list(APPEND QT_LIBRARIES DBus)
|
||||
endif()
|
||||
find_package(QT NAMES Qt6 Qt5 REQUIRED
|
||||
find_package(QT
|
||||
NAMES
|
||||
Qt6
|
||||
Qt5
|
||||
REQUIRED
|
||||
COMPONENTS
|
||||
${QT_LIBRARIES}
|
||||
OPTIONAL_COMPONENTS
|
||||
|
||||
Reference in New Issue
Block a user