From 4d22405e482e4e943b9485c6809cad8d6fafcc30 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 25 Jul 2022 17:50:38 +0200 Subject: CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers Change-Id: I9b7404e1d3a78fe0726ec0f5ce1461f6c209e90d Reviewed-by: Alexey Edelev --- tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt | 2 +- tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/corelib/plugin/qlibrary') diff --git a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt index 25292c0cc5..e97322e7df 100644 --- a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt +++ b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_cmake_library(mylib #OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case SOURCES mylib.c - PUBLIC_LIBRARIES + LIBRARIES Qt::Core ) diff --git a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt index 902c53ea84..935c5bd668 100644 --- a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt +++ b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_cmake_library(mylib2 # special case #OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case SOURCES mylib.c - PUBLIC_LIBRARIES + LIBRARIES Qt::Core ) -- cgit v1.2.3