From 955e5a9cfe5ff5bcb1cdf35cbd84583b73359c73 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Tue, 7 May 2024 12:06:03 -0700 Subject: [PATCH] [icu] add a BUILD_DATA flag to let android build skip building data --- shared/ICU/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/ICU/CMakeLists.txt b/shared/ICU/CMakeLists.txt index e7c10dc7..b6b121f8 100644 --- a/shared/ICU/CMakeLists.txt +++ b/shared/ICU/CMakeLists.txt @@ -546,6 +546,10 @@ target_link_libraries(icuin PRIVATE set_target_properties(icuin PROPERTIES OUTPUT_NAME icuin${PROJECT_VERSION_MAJOR}) +if(NOT BUILD_DATA) + return() +endif() + if(BUILD_TOOLS) add_library(icutu source/tools/toolutil/collationinfo.cpp