[build] Fixed ICU build on Linux.

This commit is contained in:
Yuri Gorshenin 2017-04-05 16:24:02 +03:00
parent 282c267cd5
commit 9fae5afa98
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"