mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 10:45:08 +00:00

Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
14 lines
426 B
CMake
14 lines
426 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
|
|
|
set(SOURCES
|
|
CharacterTypes.cpp
|
|
CurrencyCode.cpp
|
|
Emoji.cpp
|
|
Normalize.cpp
|
|
${UNICODE_DATA_SOURCES}
|
|
)
|
|
set(GENERATED_SOURCES ${CURRENT_LIB_GENERATED})
|
|
|
|
serenity_lib(LibUnicode unicode)
|
|
target_link_libraries(LibUnicode PRIVATE LibCore)
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|