From bb16c215e32cadd6ecfe3956f57a9c57da947ad2 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 12 Jun 2023 13:42:44 +0300 Subject: [PATCH] QProcess: add testUnixProcessParameters as a dep. for tst_qprocess So that building only tst_qprocess also builds the required test app. Change-Id: I19a92f9dd2f4de08302d09cad0caf55c285a6dae Reviewed-by: Thiago Macieira --- tests/auto/corelib/io/qprocess/test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/corelib/io/qprocess/test/CMakeLists.txt b/tests/auto/corelib/io/qprocess/test/CMakeLists.txt index 2e707e8fe3..89893583ac 100644 --- a/tests/auto/corelib/io/qprocess/test/CMakeLists.txt +++ b/tests/auto/corelib/io/qprocess/test/CMakeLists.txt @@ -42,3 +42,7 @@ endif() if(WIN32) add_dependencies(tst_qprocess testProcessEchoGui testSetNamedPipeHandleState) endif() + +if(UNIX) + add_dependencies(tst_qprocess testUnixProcessParameters) +endif()