[system/dolphin] src/tests: tests: build dolphinsearchbartest only when HAVE_BALOO
Méven Car <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 979f53254ef86e8ab112ee1c5d6430be5ddb015f by Méven Car.
Committed on 07/08/2026 at 13:54.
Pushed by meven into branch 'master'.
tests: build dolphinsearchbartest only when HAVE_BALOO
Its neighbour was given that condition, and this one asked for Baloo alone, which
is not what says whether the code it exercises was built: the widgets of Baloo are
wanted as well.
M +1 -1 src/tests/CMakeLists.txt
https://invent.kde.org/system/dolphin/-/commit/979f53254ef86e8ab112ee1c5d6430be5ddb015f
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 4cc502216a..f696bc4e27 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -55,7 +55,7 @@ target_link_libraries(kfileitemmodelbenchmark dolphinprivate Qt6::Test)
ecm_add_test(kitemlistkeyboardsearchmanagertest.cpp LINK_LIBRARIES dolphinprivate Qt6::Test)
# DolphinSearchBar
-if (KF6Baloo_FOUND)
+if (HAVE_BALOO)
ecm_add_test(dolphinsearchbartest.cpp
TEST_NAME dolphinsearchbartest
LINK_LIBRARIES dolphinprivate dolphinstatic Qt6::Test)