aboutsummaryrefslogtreecommitdiff
path: root/cmake/CMakeLists.txt
diff options
context:
space:
mode:
authorWei-Yin Chen (陳威尹) <wychen@chromium.org>2016-09-01 17:12:49 -0700
committerWei-Yin Chen (陳威尹) <wychen@chromium.org>2016-09-01 17:18:22 -0700
commita7eaf3696725d22e40ef2689bd2e8f32749d2df0 (patch)
tree2a8b24327f9da98e8e38fa54e0ad4113647db75f /cmake/CMakeLists.txt
parent48811b2eddadf723b0685934025735163c74362f (diff)
downloadprotobuf-a7eaf3696725d22e40ef2689bd2e8f32749d2df0.tar.gz
protobuf-a7eaf3696725d22e40ef2689bd2e8f32749d2df0.tar.bz2
protobuf-a7eaf3696725d22e40ef2689bd2e8f32749d2df0.zip
Rename UNICODE to protobuf_UNICODE
Diffstat (limited to 'cmake/CMakeLists.txt')
-rw-r--r--cmake/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 8c374b7e..df3b2012 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -159,9 +159,9 @@ else (MSVC)
set(LIB_PREFIX)
endif (MSVC)
-if (UNICODE)
+if (protobuf_UNICODE)
add_definitions(-DUNICODE -D_UNICODE)
-endif (UNICODE)
+endif (protobuf_UNICODE)
include(libprotobuf-lite.cmake)
include(libprotobuf.cmake)