Skip to content

Commit

Permalink
[HybridGlobalization] Fix xamarin_macios build after system ICU change (
Browse files Browse the repository at this point in the history
#96270)

Fix xamarin_macios build after system ICU change
  • Loading branch information
mkhamoyan authored Jan 5, 2024
1 parent 928ff30 commit ab8c3b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/native/libs/System.Globalization.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ else()
endif()

if (CLR_CMAKE_TARGET_APPLE)
if(CLR_CMAKE_TARGET_IOS)
add_definitions(-DTARGET_IOS)
elseif(CLR_CMAKE_TARGET_TVOS)
add_definitions(-DTARGET_TVOS)
elseif(CLR_CMAKE_TARGET_MACCATALYST)
add_definitions(-DTARGET_MACCATALYST)
endif()
set(NATIVEGLOBALIZATION_SOURCES_OBJC
pal_locale.m
pal_collation.m
Expand Down

0 comments on commit ab8c3b8

Please sign in to comment.