Skip to content

Commit cd52ed6

Browse files
committed
fix erroneous logic pointed and commas out by @jrose-apple and @llvm-beanz
1 parent 9c53bb2 commit cd52ed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/stubs/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ set(LLVM_OPTIONAL_SOURCES
2222
# Now in case we're cross-compiling from Darwin for another platform,
2323
# the find_package should still be executed.
2424
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
25-
set(icu_required, "REQUIRED")
25+
set(icu_required "")
2626
else()
27-
set(icu_required, "")
27+
set(icu_required "REQUIRED")
2828
endif()
2929

3030
find_package(ICU ${icu_required} COMPONENTS uc)

0 commit comments

Comments
 (0)