Merge pull request #5772 from ygorshenin/fix-icu-linux-build

[build] Fixed ICU build on Linux.
This commit is contained in:
Daria Volvenkova 2017-04-05 16:56:21 +03:00 committed by GitHub
commit 3e781178d6
2 changed files with 5 additions and 1 deletions

View file

@ -6,7 +6,9 @@ add_definitions(
-DU_COMMON_IMPLEMENTATION
-DU_I18N_IMPLEMENTATION
-DU_NO_DEFAULT_INCLUDE_UTF_HEADERS
-DU_DISABLE_RENAMING)
-DU_DISABLE_RENAMING
-DU_ENABLE_DYLOAD=0
)
set(CMAKE_PREFIX_PATH ./)

View file

@ -3,6 +3,8 @@
#include "base/logging.hpp"
#include <cstring>
#include "3party/icu/common/unicode/uclean.h"
#include "3party/icu/common/unicode/unistr.h"
#include "3party/icu/common/unicode/utypes.h"