diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-26 17:35:58 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-28 14:58:42 +0200 |
commit | a8431a406788908c7224c12873a1e9e61953d39b (patch) | |
tree | 929514071a856c54f1a6c79ddfa868cd96a5c821 /tests/auto/qml/qqmlapplicationengine | |
parent | a5ceeb755d79422125b378a9b610fb34212038a8 (diff) |
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I1cd769f85d5f82c43639d6787d98e536619249e6
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlapplicationengine')
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt index c641ec6079..1eb4b0847f 100644 --- a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlapplicationengine SOURCES tst_qqmlapplicationengine.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::GuiPrivate Qt::Network diff --git a/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt index 871539cfc4..187f6e758f 100644 --- a/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt @@ -4,7 +4,7 @@ qt_internal_add_test(tst_androidassets SOURCES tst_androidassets.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Quick diff --git a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt index 4a2834521b..5f8e8a95bc 100644 --- a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_executable(testapp OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml ) |