From f846b6f2d97aacf97a9f174628c674e856791aca Mon Sep 17 00:00:00 2001 From: ayeteadoe Date: Fri, 31 Oct 2025 19:02:09 -0700 Subject: [PATCH] CMake: Remove unnecessary WebContent dependencies on Windows In the initial work that got Ladybird running on Windows, there were some DLLs that WebContent implicitly depended on which was causing runtime errors when launching as they didn't exist in libexec. So the workaround was to explicitly link the targets that had issues to WebContent and use lagom_copy_runtime_dlls() to ensure they got copied to libexec. But given libexec is not a standard Windows convention, in a later review we made sure Services got output to the bin folder, but those initial workarounds were not removed even though they were now unnecessary. --- Services/WebContent/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/Services/WebContent/CMakeLists.txt b/Services/WebContent/CMakeLists.txt index 939860b3b8..a20c366cc5 100644 --- a/Services/WebContent/CMakeLists.txt +++ b/Services/WebContent/CMakeLists.txt @@ -39,9 +39,6 @@ add_executable(WebContent main.cpp) target_link_libraries(WebContent PRIVATE webcontentservice LibURL) if(WIN32) - find_package(unofficial-angle REQUIRED CONFIG) - find_package(SQLite3 REQUIRED) - target_link_libraries(WebContent PRIVATE LibMedia LibTextCodec SQLite::SQLite3 unofficial::angle::libGLESv2) lagom_windows_bin(WebContent) endif()