RequestServer: Simplify library creation for implementation library

Using ladybird_lib() adds all sorts of extra goodies to the target, such
as installation, soname setting, a custom target name, adding lagom- to
the name of the library, etc. All we need for this impl lib is the
generated sources support, so move to a bare add_library() call instead.

The previous call was also wrong, and always created liblagom-TYPE.so.
This commit is contained in:
Andrew Kaster 2025-07-07 14:34:44 -06:00 committed by Andrew Kaster
parent 9ac685b948
commit 6264d303af

View File

@ -21,7 +21,8 @@ if (ANDROID)
set(RS_LIB_TYPE SHARED)
endif()
ladybird_lib(requestserverservice TYPE ${RS_LIB_TYPE})
add_library(requestserverservice ${RS_LIB_TYPE} ${SOURCES} ${GENERATED_SOURCES})
ladybird_generated_sources(requestserverservice)
find_package(PkgConfig)
find_package(CURL REQUIRED)