summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-06-23 16:19:04 -0400
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-06-28 11:57:31 -0400
commitfe3131ae88131b63a1d115f7efcd095ee5b7fe69 (patch)
tree8952d3909b5ff4eabe9a8655252283a1bc281e4a
parent9df5f8ea8fd136faa2856091fb83ea108a622a27 (diff)
meson: Allow using glib as a subproject
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 170fc03..bedbc0f 100644
--- a/meson.build
+++ b/meson.build
@@ -57,7 +57,8 @@ rtspserver_args = ['-DHAVE_CONFIG_H']
rtspserver_incs = include_directories('gst/rtsp-server', '.')
-glib_dep = dependency('glib-2.0', version : glib_req)
+glib_dep = dependency('glib-2.0', version : glib_req,
+ fallback: ['glib', 'libglib_dep'])
gst_dep = dependency('gstreamer-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_dep'])
gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req,