From 375e935324f0d0c63089fe7dc6d1c10d61a599cd Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 25 Apr 2015 11:21:39 +0200 Subject: Do not pollute the context with the icu namespace --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index abe96a29..3ca1f2c3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -50,6 +50,9 @@ SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"") SET(FLAGS "${FLAGS} -std=c++0x") SET(FLAGS "${FLAGS} -Woverloaded-virtual") +# Prevent clashes with icu namespace +SET(FLAGS "${FLAGS} -DU_USING_ICU_NAMESPACE=0") + # If the Sqlite option is enabled... IF (WITH_SQLITE) FIND_PACKAGE(Sqlite3 REQUIRED) -- cgit v1.2.3-70-g09d2