[cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
[WebKit-https.git] / Source / cmake / OptionsMac.cmake
index b92b11296298f2a7f1afae55e5cd706066150f1b..a8485761371b30c719f03017b434bd2cbb24a2f7 100644 (file)
@@ -117,3 +117,6 @@ set(ENABLE_WEBKIT ON)
 set(WebCore_LIBRARY_TYPE SHARED)
 set(WebCoreTestSupport_LIBRARY_TYPE SHARED)
 set(WebKit_LIBRARY_TYPE SHARED)
+
+add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0)
+set(ICU_LIBRARIES libicucore.dylib)