mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 15:45:07 +00:00

Moving this helper CMake file to the centralized Meta/CMake folder helps to get a better grasp on what extra files are required for the build, and what files are generated. While we're at it, don't use add_compile_definitions for ENABLE_UNICODE_DATA, which only needs to be seen by LibUnicode sources.
11 lines
332 B
CMake
11 lines
332 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
|
|
|
SET(SOURCES
|
|
${UNICODE_DATA_SOURCES}
|
|
CharacterTypes.cpp
|
|
Locale.cpp
|
|
)
|
|
|
|
serenity_lib(LibUnicode unicode)
|
|
target_link_libraries(LibUnicode LibCore)
|
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|