4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-05-04 13:39:42 +00:00

change rule of the search qt libs

This commit is contained in:
Andrei Yankovich 2021-06-04 13:37:34 +03:00
parent 9182b1bf1e
commit 7c9308b3ff

@ -31,7 +31,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
if (NOT DEFINED QT_VERSION_MAJOR)
if (NOT QT_VERSION_MAJOR)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
endif()