summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)