0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-04-08 18:33:45 +03:00

Update CMakeLists.txt

Fix build if only Qt6 installed
This commit is contained in:
sanych1by 2023-10-13 15:43:18 +03:00 committed by GitHub
parent d10a627976
commit efdce1cdee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ option(USE_QT6 "Use Qt6" OFF)
if(USE_QT6)
find_package(QT NAMES Qt6)
else()
find_package(QT NAMES Qt5)
find_package(QT NAMES Qt5 Qt6)
endif(USE_QT6)
find_package(
Qt${QT_VERSION_MAJOR}