summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-10-03 19:24:04 +0800
committerErik Kundiman <erik@megapahit.org>2025-10-03 19:24:04 +0800
commitff1fba5bbc3ec7cb763d68cdac13a2dfe2895e9e (patch)
tree9b1054a702d6de141011b06e8fa1fe27d8f2fdd4
parenta9ab1258254002bac31db07f65f9f82c6d4dcf98 (diff)
Link media plugin CEF to glib-2.0 on Linux
Somehow now, at least on Debian & Ubuntu, when building the volume catcher, using PulseAudio, it refers to g_main_context_default too.
-rw-r--r--indra/media_plugins/cef/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/CMakeLists.txt b/indra/media_plugins/cef/CMakeLists.txt
index 539bb4e562..7cabb7d0b8 100644
--- a/indra/media_plugins/cef/CMakeLists.txt
+++ b/indra/media_plugins/cef/CMakeLists.txt
@@ -90,6 +90,10 @@ target_link_libraries(media_plugin_cef
ll::glib_headers
)
+if (LINUX)
+ target_link_libraries(${PROJECT_NAME} glib-2.0)
+endif ()
+
if (WINDOWS)
set_target_properties(
media_plugin_cef