Skip to content

Commit

Permalink
cmake: allow qt6 and qt5 matching
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Oct 29, 2022
1 parent 4d80044 commit d5f6457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5f6457

Please sign in to comment.