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:
parent
d10a627976
commit
efdce1cdee
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user