diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-03 13:38:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-03 13:38:21 +0300 |
commit | cb6307162b4c12743cee0db6b05f6b3a68f5258e (patch) | |
tree | bef89fc17e10b72f0c11a2f04ce511b61dfcbc12 /source/blender/blentranslation/CMakeLists.txt | |
parent | b34f177a39ce9fdfac05f60d21f6b763833f00f2 (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.txt | 6 |
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}") |