pineapple-src/externals/vcpkg/ports/sdl2/0002-sdl2-skip-ibus-on-linux.patch
2022-07-23 03:01:36 +02:00

15 lines
514 B
Diff
Executable file

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1342,12 +1342,6 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID 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}")
- list(APPEND EXTRA_LIBS ${IBUS_LIBRARIES})
- endif()
if (HAVE_IBUS_IBUS_H OR HAVE_FCITX)
set(SDL_USE_IME 1)