diff --git a/Source/WebKit/PlatformGTK.cmake b/Source/WebKit/PlatformGTK.cmake index 6b1211d0a13f..148272069c3b 100644 --- a/Source/WebKit/PlatformGTK.cmake +++ b/Source/WebKit/PlatformGTK.cmake @@ -52,13 +52,16 @@ list(APPEND WebKit_UNIFIED_SOURCE_LIST_FILES list(APPEND WebKit_MESSAGES_IN_FILES UIProcess/ViewGestureController - - UIProcess/gtk/AcceleratedBackingStoreDMABuf - WebProcess/gtk/GtkSettingsManagerProxy WebProcess/WebPage/ViewGestureGeometryCollector ) +if (USE_LIBGBM) + list(APPEND WebKit_MESSAGES_IN_FILES + UIProcess/gtk/AcceleratedBackingStoreDMABuf + ) +endif () + list(APPEND WebKit_DERIVED_SOURCES ${WebKitGTK_DERIVED_SOURCES_DIR}/InspectorGResourceBundle.c ${WebKitGTK_DERIVED_SOURCES_DIR}/WebKitDirectoryInputStreamData.cpp