vcpkg/ports/sdl2/0002-sdl2-skip-ibus-on-linux.patch

17 lines
526 B
Diff
Raw Normal View History

2022-09-01 04:34:35 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa36eb02c..c01ee2e4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2022-09-01 04:34:35 +08:00
@@ -1434,11 +1434,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
set(HAVE_FCITX TRUE)
2020-10-31 04:36:13 +08:00
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}")
2020-10-31 04:36:13 +08:00
- endif()
if (HAVE_IBUS_IBUS_H OR HAVE_FCITX)
set(SDL_USE_IME 1)