[utilities/konsole] src/autotests: ContainerDetectorParsingTest: link only libraries needed

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 182afa2b94ba2b0714f7afff337506c798df6e7a by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 17:04.
Pushed by kossebau into branch 'master'.

ContainerDetectorParsingTest: link only libraries needed

M  +6    -2    src/autotests/CMakeLists.txt

https://invent.kde.org/utilities/konsole/-/commit/182afa2b94ba2b0714f7afff337506c798df6e7a

diff --git a/src/autotests/CMakeLists.txt b/src/autotests/CMakeLists.txt
index 93f4a9f55..3dad75521 100644
--- a/src/autotests/CMakeLists.txt
+++ b/src/autotests/CMakeLists.txt
@@ -25,7 +25,6 @@ ecm_add_tests(
     CharacterColorTest.cpp
     CharacterTest.cpp
     CharacterWidthTest.cpp
-    ContainerDetectorParsingTest.cpp
     HotSpotFilterTest.cpp
     ProcessInfoTest.cpp
     ProfileTest.cpp
@@ -33,7 +32,12 @@ ecm_add_tests(
     ShellCommandTest.cpp
     TerminalCharacterDecoderTest.cpp
     Vt102EmulationTest.cpp
-    LINK_LIBRARIES ${KONSOLE_TEST_LIBS} konsolecontainers
+    LINK_LIBRARIES ${KONSOLE_TEST_LIBS}
+)
+
+ecm_add_test(
+    ContainerDetectorParsingTest.cpp
+    LINK_LIBRARIES konsolecontainers Qt::Test
 )
 
 if(NOT WIN32)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.