Skip to content

Commit 955e5a9

Browse files
committed
[icu] add a BUILD_DATA flag to let android build skip building data
1 parent f24f0c5 commit 955e5a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shared/ICU/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,10 @@ target_link_libraries(icuin PRIVATE
546546
set_target_properties(icuin PROPERTIES
547547
OUTPUT_NAME icuin${PROJECT_VERSION_MAJOR})
548548

549+
if(NOT BUILD_DATA)
550+
return()
551+
endif()
552+
549553
if(BUILD_TOOLS)
550554
add_library(icutu
551555
source/tools/toolutil/collationinfo.cpp

0 commit comments

Comments
 (0)