This commit is contained in:
Laurent Montel
2021-12-21 20:28:05 +01:00
parent 56e762c563
commit 32347725cb
2 changed files with 19 additions and 19 deletions

View File

@ -119,7 +119,7 @@ endif()
find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} CONFIG QUIET)
if(NOT TARGET Qt${QT_MAJOR_VERSION}Test)
if(NOT TARGET Qt${QT_MAJOR_VERSION}::Test)
message(STATUS "Qt${QT_MAJOR_VERSION}Test not found, some autotests will not be built.")
return()
endif()