mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Meta: Hide WebView behind ENABLE_LAGOM_LIBWEB CMake option
If ENABLE_LAGOM_LIBWEB is OFF, this will fail to build.
This commit is contained in:
parent
8a37badc42
commit
e8410bc2ee
1 changed files with 7 additions and 5 deletions
|
@ -585,11 +585,13 @@ if (BUILD_LAGOM)
|
||||||
)
|
)
|
||||||
|
|
||||||
# WebView
|
# WebView
|
||||||
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/DOMTreeModel.cpp")
|
if (ENABLE_LAGOM_LIBWEB)
|
||||||
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/WebContentClient.cpp")
|
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/DOMTreeModel.cpp")
|
||||||
lagom_lib(WebView webview
|
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/WebContentClient.cpp")
|
||||||
SOURCES ${LIBWEBVIEW_SOURCES}
|
lagom_lib(WebView webview
|
||||||
LIBS LibGUI LibWeb)
|
SOURCES ${LIBWEBVIEW_SOURCES}
|
||||||
|
LIBS LibGUI LibWeb)
|
||||||
|
endif()
|
||||||
|
|
||||||
# x86
|
# x86
|
||||||
# FIXME: Excluding arm64 is a temporary hack to circumvent a build problem
|
# FIXME: Excluding arm64 is a temporary hack to circumvent a build problem
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue