File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,6 @@ else()
160
160
find_package (ICU REQUIRED COMPONENTS uc i18n )
161
161
list (APPEND swift_core_private_link_libraries
162
162
${ICU_UC_LIBRARY} ${ICU_I18N_LIBRARY} )
163
- include_directories (
164
- ${ICU_UC_INCLUDE_DIR} ${ICU_I18N_INCLUDE_DIR} )
165
163
endif ()
166
164
167
165
if (CMAKE_SYSTEM_NAME STREQUAL "CYGWIN" )
Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ if(SWIFT_HOST_VARIANT MATCHES "${SWIFT_DARWIN_VARIANTS}")
9
9
set (LLVM_OPTIONAL_SOURCES
10
10
UnicodeNormalization.cpp )
11
11
else ()
12
+ find_package (ICU REQUIRED COMPONENTS uc i18n )
12
13
set (swift_stubs_unicode_normalization_sources
13
14
UnicodeNormalization.cpp )
15
+ include_directories (
16
+ ${ICU_UC_INCLUDE_DIR} ${ICU_I18N_INCLUDE_DIR} )
14
17
endif ()
15
18
16
19
add_swift_library (swiftStdlibStubs OBJECT_LIBRARY TARGET_LIBRARY
You can’t perform that action at this time.
0 commit comments