vcpkg/ports/sdl2/0002-sdl2-skip-ibus-on-linux.patch
2022-08-31 13:34:35 -07:00

17 lines
526 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa36eb02c..c01ee2e4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1434,11 +1434,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
set(HAVE_FCITX TRUE)
endif()
- pkg_search_module(IBUS ibus-1.0 ibus)
- if(IBUS_FOUND)
- set(HAVE_IBUS_IBUS_H TRUE)
- target_include_directories(sdl-build-options INTERFACE "${IBUS_INCLUDE_DIRS}")
- endif()
if (HAVE_IBUS_IBUS_H OR HAVE_FCITX)
set(SDL_USE_IME 1)