[utilities/konsole] src/autotests: Autotests: drop effectless code
Friedrich W. H. Kossebau <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 518a6e83e690c10594dc86040d1ea61b2adf9c55 by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 00:09.
Pushed by kossebau into branch 'master'.
Autotests: drop effectless code
HAVE_XKBCOMMON is set as public compile definition on konsoleprivate,
so already present by the linking to it
KONSOLE_TEST_LIBS is overridden 5 lines later in the code, so the
appending of ${XKBCOMMON_LIBRARIES} before was useless.
M +0 -6 src/autotests/CMakeLists.txt
https://invent.kde.org/utilities/konsole/-/commit/518a6e83e690c10594dc86040d1ea61b2adf9c55
diff --git a/src/autotests/CMakeLists.txt b/src/autotests/CMakeLists.txt
index 025052128..93f4a9f55 100644
--- a/src/autotests/CMakeLists.txt
+++ b/src/autotests/CMakeLists.txt
@@ -1,11 +1,5 @@
include(ECMAddTests)
-if(KONSOLE_HAVE_XKBCOMMON)
- add_compile_definitions(HAVE_XKBCOMMON)
-
- list(APPEND KONSOLE_TEST_LIBS ${XKBCOMMON_LIBRARIES})
-endif()
-
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
set(KONSOLE_TEST_LIBS Qt::Test konsoleprivate konsolecharacters konsoledecoders konsoleapp)