Skip to content

Commit

Permalink
Hardcode path to ICU on macOS (dotnet#39833)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger authored and Jacksondr5 committed Aug 10, 2020
1 parent c117b87 commit ad3952b
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 ad3952b

Please sign in to comment.