Commit c950018fe0f96c0c6bb8e48db99018bc3b19ec8b

Anonymous Maarten 2022-06-15T03:07:41

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a6a49b..913108f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()