Commit 8af8d2c1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use ${QT_MAJOR_VERSION} here too

parent 1c723838
Pipeline #162516 passed with stage
in 3 minutes and 39 seconds
......@@ -52,7 +52,7 @@ set_package_properties(Qt${QT_MAJOR_VERSION}Test PROPERTIES
PURPOSE "Required for tests"
TYPE OPTIONAL)
if(NOT Qt5Test_FOUND)
if(NOT Qt${QT_MAJOR_VERSION}Test_FOUND)
set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment