Commit 2237330b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use Qt${QT_MAJOR_VERSION} here too

parent 872a53d5
Pipeline #123472 passed with stage
in 1 minute and 11 seconds
find_package(Qt5Test ${QT_MIN_VERSION} REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}Test ${QT_MIN_VERSION} REQUIRED)
add_executable(movetest movetest.cpp movetest.h ../move.cpp ../move.h)
add_test(NAME movetest COMMAND movetest)
target_link_libraries(movetest Qt::Test)
target_link_libraries(movetest Qt${QT_MAJOR_VERSION}::Test)
Markdown is supported
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