Browse Source

Lagom: Build DOMTreeModel from LibWebView

This will be used in Ladybird.
Andreas Kling 2 years ago
parent
commit
34c232def7
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Meta/Lagom/CMakeLists.txt

+ 6 - 0
Meta/Lagom/CMakeLists.txt

@@ -577,6 +577,12 @@ if (BUILD_LAGOM)
         LIBS LibCrypto LibTLS
     )
 
+    # WebView
+    list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/DOMTreeModel.cpp")
+    lagom_lib(WebView webview
+        SOURCES ${LIBWEBVIEW_SOURCES}
+        LIBS LibGUI)
+
     # x86
     # FIXME: Excluding arm64 is a temporary hack to circumvent a build problem
     #        for Lagom on Apple M1