update find packagewd

This commit is contained in:
Andrei Yankovich 2021-07-19 18:36:03 +03:00
parent a71645d803
commit 227f5d9b40

View File

@ -13,7 +13,7 @@ if(TARGET ${PROJECT_NAME})
endif()
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Test QUIET)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Test REQUIRED)
include(submodules/QuasarAppLib/CMake/QuasarApp.cmake)