Skip to content

Commit

Permalink
Hardcode path to ICU on macOS (#39833)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger authored Jul 23, 2020
1 parent 5c274f6 commit 05f17e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(CLR_CMAKE_TARGET_UNIX)
message(FATAL_ERROR "Cannot find libicucore, skipping build for System.Globalization.Native. .NET globalization is not expected to function.")
return()
endif()
add_definitions(-DOSX_ICU_LIBRARY_PATH=\"${ICUCORE}\")
add_definitions(-DOSX_ICU_LIBRARY_PATH=\"/usr/lib/libicucore.dylib\")
add_definitions(-DU_DISABLE_RENAMING)
else()
find_library(ICUUC icuuc)
Expand Down

0 comments on commit 05f17e3

Please sign in to comment.