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

LibUnicode: Fix compilation when the UCD download is disabled

This commit is contained in:
Timothy Flynn 2022-12-13 10:07:23 -05:00 committed by Linus Groh
parent e8dbb1a8b2
commit d382e77d38
2 changed files with 18 additions and 4 deletions

View file

@ -432,7 +432,9 @@ if (BUILD_LAGOM)
# FIXME: LibLocaleData is an object lib in Lagom, because the weak symbol trick we use on serenity
# straight up isn't supposed to work per ELF rules
target_link_libraries(LibLocale PRIVATE LibTimeZone)
install(TARGETS LibLocaleData EXPORT LagomTargets)
if (ENABLE_UNICODE_DATABASE_DOWNLOAD)
install(TARGETS LibLocaleData EXPORT LagomTargets)
endif()
add_serenity_subdirectory(Userland/Shell)