diff options
Diffstat (limited to 'tests/auto/core/vector4d_sse')
-rw-r--r-- | tests/auto/core/vector4d_sse/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp | 2 | ||||
-rw-r--r-- | tests/auto/core/vector4d_sse/vector4d_sse.pro | 9 |
3 files changed, 7 insertions, 10 deletions
diff --git a/tests/auto/core/vector4d_sse/CMakeLists.txt b/tests/auto/core/vector4d_sse/CMakeLists.txt index 9d6060974..00f0dedbd 100644 --- a/tests/auto/core/vector4d_sse/CMakeLists.txt +++ b/tests/auto/core/vector4d_sse/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_vector4d_sse Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_vector4d_sse LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_vector4d_sse SOURCES tst_vector4d_sse.cpp diff --git a/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp b/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp index 2cce8d141..a0239b2ed 100644 --- a/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp +++ b/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2016 Paul Lemire <paul.lemire350@gmail.com> -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtTest/QTest> #include <Qt3DCore/private/vector4d_sse_p.h> diff --git a/tests/auto/core/vector4d_sse/vector4d_sse.pro b/tests/auto/core/vector4d_sse/vector4d_sse.pro deleted file mode 100644 index 76c425548..000000000 --- a/tests/auto/core/vector4d_sse/vector4d_sse.pro +++ /dev/null @@ -1,9 +0,0 @@ -TARGET = tst_vector4d_sse -CONFIG += testcase simd - -SOURCES += \ - tst_vector4d_sse.cpp - -QT += testlib 3dcore 3dcore-private - -QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE2 |