From 3667d7e93cf8e671756e1ed8f317403b6315366d Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Thu, 26 May 2022 00:06:41 +0200 Subject: [PATCH] Userland: Depend some applications on WebContent if it's being used Deduced this mostly by looking at unveil()s. --- Userland/Applications/Help/CMakeLists.txt | 1 + Userland/Applications/Mail/CMakeLists.txt | 1 + Userland/Applications/Spreadsheet/CMakeLists.txt | 1 + Userland/Applications/Welcome/CMakeLists.txt | 2 +- Userland/DevTools/HackStudio/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Userland/Applications/Help/CMakeLists.txt b/Userland/Applications/Help/CMakeLists.txt index a2aa07a9a8..8d83193751 100644 --- a/Userland/Applications/Help/CMakeLists.txt +++ b/Userland/Applications/Help/CMakeLists.txt @@ -2,6 +2,7 @@ serenity_component( Help RECOMMENDED TARGETS Help + DEPENDS WebContent ) compile_gml(HelpWindow.gml HelpWindowGML.h help_window_gml) diff --git a/Userland/Applications/Mail/CMakeLists.txt b/Userland/Applications/Mail/CMakeLists.txt index 893670e19e..91e0ab96c1 100644 --- a/Userland/Applications/Mail/CMakeLists.txt +++ b/Userland/Applications/Mail/CMakeLists.txt @@ -2,6 +2,7 @@ serenity_component( Mail RECOMMENDED TARGETS Mail + DEPENDS WebContent ) compile_gml(MailWindow.gml MailWindowGML.h mail_window_gml) diff --git a/Userland/Applications/Spreadsheet/CMakeLists.txt b/Userland/Applications/Spreadsheet/CMakeLists.txt index 79837b0aad..17d66eb4af 100644 --- a/Userland/Applications/Spreadsheet/CMakeLists.txt +++ b/Userland/Applications/Spreadsheet/CMakeLists.txt @@ -1,6 +1,7 @@ serenity_component( Spreadsheet TARGETS Spreadsheet + DEPENDS WebContent ) compile_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml) diff --git a/Userland/Applications/Welcome/CMakeLists.txt b/Userland/Applications/Welcome/CMakeLists.txt index 4e9050865a..9efd15e5ba 100644 --- a/Userland/Applications/Welcome/CMakeLists.txt +++ b/Userland/Applications/Welcome/CMakeLists.txt @@ -1,7 +1,7 @@ serenity_component( Welcome TARGETS Welcome - DEPENDS Help + DEPENDS Help WebContent ) compile_gml(WelcomeWindow.gml WelcomeWindowGML.h welcome_window_gml) diff --git a/Userland/DevTools/HackStudio/CMakeLists.txt b/Userland/DevTools/HackStudio/CMakeLists.txt index b88bc28e5f..3845c9d76e 100644 --- a/Userland/DevTools/HackStudio/CMakeLists.txt +++ b/Userland/DevTools/HackStudio/CMakeLists.txt @@ -2,7 +2,7 @@ serenity_component( HackStudio RECOMMENDED TARGETS HackStudio - DEPENDS CppLanguageServer ShellLanguageServer + DEPENDS CppLanguageServer ShellLanguageServer WebContent ) add_subdirectory(LanguageServers)