diff options
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 6f30cecab61..dc55a81b0d8 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -152,7 +152,7 @@ elseif(APPLE AND NOT WITH_X11) intern/GHOST_WindowCocoa.h ) - if (NOT WITH_GL_EGL) + if(NOT WITH_GL_EGL) list(APPEND SRC intern/GHOST_ContextCGL.mm @@ -192,7 +192,7 @@ elseif(WITH_X11) intern/GHOST_WindowX11.h ) - if (NOT WITH_GL_EGL) + if(NOT WITH_GL_EGL) list(APPEND SRC intern/GHOST_ContextGLX.cpp @@ -272,7 +272,7 @@ elseif(WIN32) intern/GHOST_TaskbarWin32.h ) - if (NOT WITH_GL_EGL) + if(NOT WITH_GL_EGL) list(APPEND SRC intern/GHOST_ContextWGL.cpp @@ -280,6 +280,16 @@ elseif(WIN32) ) endif() + if(WITH_INPUT_IME) + add_definitions(-DWITH_INPUT_IME) + + list(APPEND SRC + intern/GHOST_ImeWin32.cpp + + intern/GHOST_ImeWin32.h + ) + endif() + if(WITH_INPUT_NDOF) list(APPEND SRC intern/GHOST_NDOFManagerWin32.cpp |