1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:07:34 +00:00

Ladybird: Install an impl library for WebContent when ENABLE_QT=OFF

This should allow out of tree chromes to prototype other LibWeb platform
plugins easier when using Lagom as a find_package dependency.
This commit is contained in:
Andrew Kaster 2023-08-11 18:26:17 -06:00 committed by Andrew Kaster
parent 184056cf6a
commit 88082bfada
2 changed files with 16 additions and 2 deletions

View file

@ -37,6 +37,11 @@ foreach (application IN LISTS ladybird_applications)
endforeach()
list(REMOVE_DUPLICATES all_required_lagom_libraries)
# Install webcontent impl library if it exists
if (TARGET webcontent)
list(APPEND all_required_lagom_libraries webcontent)
endif()
install(TARGETS ${all_required_lagom_libraries}
EXPORT ladybirdTargets
COMPONENT ladybird_Runtime