summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-06-26 14:42:40 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-07-04 00:07:08 +0300
commit520b4d3ca6dca055e345934a365a5d9196abf164 (patch)
tree6a538284c3e34cbec6bb078ef3bb8156904a1d9b /tests/auto/corelib/global
parentafc8260359191b5e5b2f2c0a124e2094c01f7e1a (diff)
CMake: make tst_qlogging depend on qlogging_helper
So that building tst_qlogging also builds qlogging_helper. Helps with local testing where you only build and run tst_qlogging instead of the whole repo. Change-Id: Ib36ff3e55e04794534d6cb7a23f243aae61d0005 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/global')
-rw-r--r--tests/auto/corelib/global/qlogging/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qlogging/CMakeLists.txt b/tests/auto/corelib/global/qlogging/CMakeLists.txt
index bfbf62dccd..c540977464 100644
--- a/tests/auto/corelib/global/qlogging/CMakeLists.txt
+++ b/tests/auto/corelib/global/qlogging/CMakeLists.txt
@@ -20,6 +20,8 @@ qt_internal_add_test(tst_qlogging SOURCES tst_qlogging.cpp
HELPER_BINARY="${CMAKE_CURRENT_BINARY_DIR}/qlogging_helper"
)
+add_dependencies(tst_qlogging qlogging_helper)
+
qt_internal_add_test(tst_qmessagelogger SOURCES tst_qmessagelogger.cpp
DEFINES
QT_MESSAGELOGCONTEXT