From 1fc7740152bd651f7719facd44884fac4762ecaf Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 2 Jan 2023 16:04:46 -0800 Subject: [PATCH] Ladybird: Install SQLServer binary Install the SQLServer binary added in 2cb3ae1 so that it's actually available on the target system when doing a standalone build of Ladybird. --- Ladybird/cmake/InstallRules.cmake | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Ladybird/cmake/InstallRules.cmake b/Ladybird/cmake/InstallRules.cmake index 58428b64df..f06af374ac 100644 --- a/Ladybird/cmake/InstallRules.cmake +++ b/Ladybird/cmake/InstallRules.cmake @@ -18,6 +18,16 @@ install(TARGETS ladybird DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +install(TARGETS SQLServer + EXPORT ladybirdTargets + RUNTIME + COMPONENT ladybird_Runtime + DESTINATION ${CMAKE_INSTALL_BINDIR} + BUNDLE + COMPONENT ladybird_Runtime + DESTINATION bundle +) + install(TARGETS WebContent EXPORT ladybirdTargets RUNTIME @@ -30,8 +40,9 @@ install(TARGETS WebContent include("${SERENITY_SOURCE_DIR}/Meta/Lagom/get_linked_lagom_libraries.cmake") get_linked_lagom_libraries(ladybird ladybird_lagom_libraries) +get_linked_lagom_libraries(SQLServer sqlserver_lagom_libraries) get_linked_lagom_libraries(WebContent webcontent_lagom_libraries) -list(APPEND all_required_lagom_libraries ${ladybird_lagom_libraries} ${webcontent_lagom_libraries}) +list(APPEND all_required_lagom_libraries ${ladybird_lagom_libraries} ${sqlserver_lagom_libraries} ${webcontent_lagom_libraries}) list(REMOVE_DUPLICATES all_required_lagom_libraries) install(TARGETS ${all_required_lagom_libraries}