Skip to content

Commit

Permalink
build(cmake): fix build if Qt 6 is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Aug 4, 2024
1 parent 04c525b commit dff598c
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 @@ -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()

Expand Down

0 comments on commit dff598c

Please sign in to comment.