diff options
author | Sami Shalayel <[email protected]> | 2023-03-16 13:30:52 +0100 |
---|---|---|
committer | Sami Shalayel <[email protected]> | 2023-03-30 12:31:36 +0200 |
commit | 407ed344dadec77ae8ddb976a8ab1acfedcdb86d (patch) | |
tree | 5e91a907bb1a884f3925fa2fcfc78880c726453e /tests | |
parent | c63c25f616315e45e7ffc60e6be5764cd8f0a3a4 (diff) |
tst_qmllint: add dependencies
Add qmljsrootgen and qmllint as dependencies to tst_qmllint, to make
sure that tst_qmllint always run with an up-tp-date version of the tools
it tests.
Change-Id: Ia0091c7967b4bf93ff194eb83f92cfcfcf35f48e
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qmllint/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/CMakeLists.txt b/tests/auto/qml/qmllint/CMakeLists.txt index 422e7a08b3..4d85c28ced 100644 --- a/tests/auto/qml/qmllint/CMakeLists.txt +++ b/tests/auto/qml/qmllint/CMakeLists.txt @@ -42,9 +42,15 @@ qt_internal_extend_target(tst_qmllint CONDITION NOT ANDROID AND NOT IOS QT_QMLTEST_DATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) +if (TARGET qmllint) + add_dependencies(tst_qmllint Qt::qmllint) +endif() + if (TARGET qmljsrootgen) qt_internal_extend_target(tst_qmllint DEFINES QT_QMLJSROOTGEN_PRESENT ) + + add_dependencies(tst_qmllint Qt::qmljsrootgen) endif() |