Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KShisen
Commits
2237330b
Commit
2237330b
authored
Jan 14, 2022
by
Laurent Montel
Browse files
Use Qt${QT_MAJOR_VERSION} here too
parent
872a53d5
Pipeline
#123472
passed with stage
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tests/CMakeLists.txt
View file @
2237330b
find_package
(
Qt
5
Test
${
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
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment