diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-03-31 11:20:11 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-03-31 16:09:14 +0000 |
commit | e257167ce5122923964809dd7f30ad65d9bab3c7 (patch) | |
tree | c95fd83e74ccb1f0ed6d604515efc92bf0af931c /tests | |
parent | e861de47d002e126f1efe4f5ab39f0ee1d90d4fe (diff) |
Rename ambiguous cmake test target
CMake requires unambigous target names. tst_transform clashes with
the test of the same name in qt3d for a top-level qt5 build:
CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:28 (add_executable):
add_executable cannot create target "tst_transform" because another target
with the same name already exists. The existing target is an executable
created in source directory
"C:/dev/qt/6.1/src/qt3d/tests/auto/render/transform". See documentation
for policy CMP0002 for more details.
Call Stack (most recent call first):
qtbase/cmake/QtTestHelpers.cmake:214 (qt_internal_add_executable)
qtlottie/tests/auto/bodymovin/shape/transform/CMakeLists.txt:1 (qt_internal_add_test)
Pick-to: 6.1
Change-Id: Ieab2af38cbde728ceccc4feda521256d1cc3dd7b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/bodymovin/shape/transform/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/bodymovin/shape/transform/CMakeLists.txt b/tests/auto/bodymovin/shape/transform/CMakeLists.txt index 1694f0f..9285982 100644 --- a/tests/auto/bodymovin/shape/transform/CMakeLists.txt +++ b/tests/auto/bodymovin/shape/transform/CMakeLists.txt @@ -1,4 +1,4 @@ -qt_internal_add_test(tst_transform +qt_internal_add_test(tst_bodymovin_transform SOURCES tst_bmbasictransform.cpp PUBLIC_LIBRARIES |