diff --git a/autotests/integration/CMakeLists.txt b/autotests/integration/CMakeLists.txt index 25cdac4411..aaa35ee76a 100644 --- a/autotests/integration/CMakeLists.txt +++ b/autotests/integration/CMakeLists.txt @@ -101,7 +101,9 @@ integrationTest(WAYLAND_ONLY NAME testSceneOpenGLES SRCS scene_opengl_es_test.cp integrationTest(WAYLAND_ONLY NAME testNoXdgRuntimeDir SRCS no_xdg_runtime_dir_test.cpp) integrationTest(WAYLAND_ONLY NAME testScreenChanges SRCS screen_changes_test.cpp) integrationTest(NAME testModiferOnlyShortcut SRCS modifier_only_shortcut_test.cpp) -integrationTest(WAYLAND_ONLY NAME testTabBox SRCS tabbox_test.cpp) +if (KWIN_BUILD_TABBOX) + integrationTest(WAYLAND_ONLY NAME testTabBox SRCS tabbox_test.cpp) +endif() integrationTest(WAYLAND_ONLY NAME testWindowSelection SRCS window_selection_test.cpp) integrationTest(WAYLAND_ONLY NAME testPointerConstraints SRCS pointer_constraints_test.cpp) integrationTest(WAYLAND_ONLY NAME testKeyboardLayout SRCS keyboard_layout_test.cpp)