mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
Meta+LibUnicode: Move unicode_data helper to Meta/CMake
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.
This commit is contained in:
parent
47471c0ec2
commit
e88761b2b9
6 changed files with 11 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
include(unicode_data.cmake)
|
||||
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)
|
||||
|
||||
SET(SOURCES
|
||||
${UNICODE_DATA_SOURCES}
|
||||
|
@ -8,3 +8,4 @@ SET(SOURCES
|
|||
|
||||
serenity_lib(LibUnicode unicode)
|
||||
target_link_libraries(LibUnicode LibCore)
|
||||
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue