mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-22 12:33:20 +03:00
build(cmake): fix build if Qt 6 is not present
This commit is contained in:
parent
04c525b3d8
commit
dff598cfc6
@ -23,7 +23,7 @@ set(PROJECT_COPYRIGHT "© 2013-2024 Oleg Shparber and other contributors")
|
||||
|
||||
# Find available major Qt version. It will be stored in QT_VERSION_MAJOR.
|
||||
if(NOT ZEAL_USE_QT5)
|
||||
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
|
||||
find_package(QT NAMES Qt6 COMPONENTS Core)
|
||||
set(QT_MINIMUM_VERSION 6.2.0)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user