Skip to content

Commit f7befba

Browse files
authored
Add explicit modulemap path to take priority over modulemap from SDK (#36) (#38)
1 parent c014334 commit f7befba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

icuSources/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ target_include_directories(_FoundationICU
1818
PUBLIC
1919
include/)
2020

21+
target_compile_options(_FoundationICU INTERFACE
22+
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR}/include/_foundation_unicode/module.modulemap>")
23+
2124
add_subdirectory(common)
2225
add_subdirectory(i18n)
2326
add_subdirectory(io)

0 commit comments

Comments
 (0)