mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Meta: Only run the emoji generator for Serenity builds
It is not needed on Lagom, and was incidentally run twice.
This commit is contained in:
parent
6dd8161002
commit
2e0b20ef01
Notes:
sideshowbarker
2024-07-17 07:52:11 +09:00
Author: https://github.com/trflynn89
Commit: 2e0b20ef01
Pull-request: https://github.com/SerenityOS/serenity/pull/14987
1 changed files with 13 additions and 11 deletions
|
@ -235,6 +235,7 @@ if (ENABLE_UNICODE_DATABASE_DOWNLOAD)
|
|||
arguments -d "${CLDR_DATES_PATH}"
|
||||
)
|
||||
|
||||
if (CMAKE_CURRENT_BINARY_DIR MATCHES ".*/LibUnicode") # Serenity build.
|
||||
add_custom_command(
|
||||
OUTPUT "${EMOJI_INSTALL_PATH}"
|
||||
COMMAND "${EMOJI_GENERATOR_PATH}" "${EMOJI_TEST_PATH}" "${EMOJI_RES_PATH}" "${EMOJI_INSTALL_PATH}"
|
||||
|
@ -246,6 +247,7 @@ if (ENABLE_UNICODE_DATABASE_DOWNLOAD)
|
|||
USES_TERMINAL
|
||||
)
|
||||
add_custom_target(generate_emoji_txt ALL DEPENDS "${EMOJI_INSTALL_PATH}")
|
||||
endif()
|
||||
|
||||
set(UNICODE_DATA_SOURCES
|
||||
${UNICODE_DATA_HEADER}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue