From 9aaa287440580cbb923421979528562221f16378 Mon Sep 17 00:00:00 2001 From: VeithMetro Date: Tue, 17 Dec 2024 13:08:10 +0100 Subject: [PATCH] Enable the building of WebKitBrowser Extension in CMake --- WebKitBrowser/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/WebKitBrowser/CMakeLists.txt b/WebKitBrowser/CMakeLists.txt index fc492e3..66770a5 100644 --- a/WebKitBrowser/CMakeLists.txt +++ b/WebKitBrowser/CMakeLists.txt @@ -315,12 +315,12 @@ install( DESTINATION ${CMAKE_INSTALL_LIBDIR}/${STORAGE_DIRECTORY}/plugins COMPONENT ${PROJECT_NAME}) -# if(WEBKIT_GLIB_API) -# add_subdirectory(Extension) -# else() -# # also build injected bundle -# add_subdirectory(InjectedBundle) -# endif() +if(WEBKIT_GLIB_API) + add_subdirectory(Extension) +else() + # also build injected bundle + add_subdirectory(InjectedBundle) +endif() # resolution handling if(PLUGIN_WEBKITBROWSER_RESOLUTION EQUAL "720p")