Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-05-03 13:38:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-05-03 13:38:21 +0300
commitcb6307162b4c12743cee0db6b05f6b3a68f5258e (patch)
treebef89fc17e10b72f0c11a2f04ce511b61dfcbc12 /source/blender/blentranslation/CMakeLists.txt
parentb34f177a39ce9fdfac05f60d21f6b763833f00f2 (diff)
Cache whether current translation language supports IME or not
Solves the weak point mentionedi n previous commit.
Diffstat (limited to 'source/blender/blentranslation/CMakeLists.txt')
-rw-r--r--source/blender/blentranslation/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blentranslation/CMakeLists.txt b/source/blender/blentranslation/CMakeLists.txt
index 59bd7f0adfa..a3e85344027 100644
--- a/source/blender/blentranslation/CMakeLists.txt
+++ b/source/blender/blentranslation/CMakeLists.txt
@@ -53,4 +53,10 @@ if(WITH_PYTHON)
)
endif()
+if(WIN32)
+ if(WITH_INPUT_IME)
+ add_definitions(-DWITH_INPUT_IME)
+ endif()
+endif()
+
blender_add_lib(bf_blentranslation "${SRC}" "${INC}" "${INC_SYS}")