[cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
[WebKit-https.git] / Source / cmake / OptionsJSCOnly.cmake
index 26be3f5a14c4a38c046a9b755b9aed9eccb5a533..9e3f60dc6a5c0906408bd905eb139861bfc4d32b 100644 (file)
@@ -87,5 +87,6 @@ endif ()
 if (NOT APPLE)
     find_package(ICU REQUIRED)
 else ()
+    add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0)
     set(ICU_LIBRARIES libicucore.dylib)
 endif ()