Skip to content

Commit 74a65d9

Browse files
committed
Add the same flag that we added to Package.swift to cmakefile
1 parent 82c230c commit 74a65d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ add_compile_definitions(
5252
$<$<COMPILE_LANGUAGE:C,CXX>:U_IO_IMPLEMENTATION>
5353
$<$<COMPILE_LANGUAGE:C,CXX>:ICU_DATA_DIR="/usr/share/icu">
5454
$<$<COMPILE_LANGUAGE:C,CXX>:USE_PACKAGE_DATA=1>
55-
$<$<COMPILE_LANGUAGE:C,CXX>:APPLE_ICU_CHANGES=1>)
55+
$<$<COMPILE_LANGUAGE:C,CXX>:APPLE_ICU_CHANGES=1>
56+
$<$<COMPILE_LANGUAGE:C,CXX>:UCHAR_TYPE="char16_t">
57+
$<$<COMPILE_LANGUAGE:C,CXX>:U_PLATFORM_IS_DARWIN_BASED=0>)
5658

5759
# Linux specific settings
5860
if(CMAKE_SYSTEM_NAME STREQUAL Linux)

0 commit comments

Comments
 (0)