macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
explicitly, because ICU headers in the tree are not modified anymore.
.:
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsMac.cmake:
Source/WTF:
* wtf/PlatformMac.cmake: Rely on ICU_LIBRARIES instead of passing ICU
library name explicitly in WTF_LIBRARIES.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219724
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
+
+ [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
+
+ macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
+ U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
+ explicitly, because ICU headers in the tree are not modified anymore.
+
+ * Source/cmake/OptionsJSCOnly.cmake:
+ * Source/cmake/OptionsMac.cmake:
+
2017-07-17 Carlos Garcia Campos <cgarcia@igalia.com>
Add initial implementation of WebDriver process to run the HTTP server
+2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
+
+ [cmake] Unreviewed, add definitions necessary to use ICU shipped with macOS
+
+ macOS system ICU libraries are built with U_DISABLE_RENAMING=1 and
+ U_SHOW_CPLUSPLUS_API=0. After r219155 we have to pass this definitons
+ explicitly, because ICU headers in the tree are not modified anymore.
+
+ * wtf/PlatformMac.cmake: Rely on ICU_LIBRARIES instead of passing ICU
+ library name explicitly in WTF_LIBRARIES.
+
2017-07-20 Chris Dumez <cdumez@apple.com>
Replace calls to Vector::resize() with calls to more efficient shrink() / grow() when applicable
${COREFOUNDATION_LIBRARY}
${COCOA_LIBRARY}
${READLINE_LIBRARY}
- libicucore.dylib
)
list(APPEND WTF_SOURCES
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 ()
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)