cmake: don't link to libdbus (see note in SDL_dbus.c)

This commit is contained in:
Anonymous Maarten 2022-06-15 03:07:41 +02:00 committed by Ozkan Sezer
parent fb7c03ebb5
commit c950018fe0

View file

@ -1386,7 +1386,6 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID AND NOT RISCOS AND NOT HAIKU)
if(DBUS_FOUND)
set(HAVE_DBUS_DBUS_H TRUE)
target_include_directories(sdl-build-options INTERFACE "${DBUS_INCLUDE_DIRS}")
list(APPEND EXTRA_LIBS ${DBUS_LIBRARIES})
# Fcitx need only dbus.
set(HAVE_FCITX TRUE)
endif()