mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
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.
This commit is contained in:
parent
55636432e9
commit
f846b6f2d9
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user