summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-26 17:50:04 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-27 11:39:33 +0200
commitd176adc6aebe15b3f34697c19f53affc5c0bd7bc (patch)
treed701af35b6fafce9ba7473d8285f68c45667e095 /tests
parent32be6fc6e8d7e66dca2c70359647cc7f0c917210 (diff)
downloadqttools-d176adc6aebe15b3f34697c19f53affc5c0bd7bc.tar.gz
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I2a4fc816ca5dba95f3e532f69986fd1d100eb89d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qhelpcontentmodel/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpenginecore/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpgenerator/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpindexmodel/CMakeLists.txt2
-rw-r--r--tests/auto/qhelpprojectdata/CMakeLists.txt2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qhelpcontentmodel/CMakeLists.txt b/tests/auto/qhelpcontentmodel/CMakeLists.txt
index 920ac2ca2..b160d0f25 100644
--- a/tests/auto/qhelpcontentmodel/CMakeLists.txt
+++ b/tests/auto/qhelpcontentmodel/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_qhelpcontentmodel
DEFINES
QT_USE_USING_NAMESPACE
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::Help
)
diff --git a/tests/auto/qhelpenginecore/CMakeLists.txt b/tests/auto/qhelpenginecore/CMakeLists.txt
index 548f2068c..30b311e31 100644
--- a/tests/auto/qhelpenginecore/CMakeLists.txt
+++ b/tests/auto/qhelpenginecore/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_qhelpenginecore
DEFINES
QT_USE_USING_NAMESPACE
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::Help
Qt::Sql
diff --git a/tests/auto/qhelpgenerator/CMakeLists.txt b/tests/auto/qhelpgenerator/CMakeLists.txt
index 609c20e59..01808e551 100644
--- a/tests/auto/qhelpgenerator/CMakeLists.txt
+++ b/tests/auto/qhelpgenerator/CMakeLists.txt
@@ -13,7 +13,7 @@ qt_internal_add_test(tst_qhelpgenerator
DEFINES
QT_USE_USING_NAMESPACE
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::HelpPrivate
Qt::Sql
diff --git a/tests/auto/qhelpindexmodel/CMakeLists.txt b/tests/auto/qhelpindexmodel/CMakeLists.txt
index 10061d84f..e700678c6 100644
--- a/tests/auto/qhelpindexmodel/CMakeLists.txt
+++ b/tests/auto/qhelpindexmodel/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_test(tst_qhelpindexmodel
DEFINES
QT_USE_USING_NAMESPACE
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::Help
Qt::Sql
diff --git a/tests/auto/qhelpprojectdata/CMakeLists.txt b/tests/auto/qhelpprojectdata/CMakeLists.txt
index d48ae592f..96c2e2bfc 100644
--- a/tests/auto/qhelpprojectdata/CMakeLists.txt
+++ b/tests/auto/qhelpprojectdata/CMakeLists.txt
@@ -12,7 +12,7 @@ qt_internal_add_test(tst_qhelpprojectdata
DEFINES
QT_USE_USING_NAMESPACE
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::HelpPrivate
)