meson: libm is not a required library

Most toolchains do not have libm as a separate library at all.
This commit is contained in:
Nirbheek Chauhan 2019-09-10 12:55:53 +05:30 committed by Nirbheek Chauhan
parent 8585a5f2b1
commit 87bf1ac9cd

View file

@ -1,7 +1,7 @@
project('gst-examples', 'c', version : '1.17.0.1', license : 'LGPL')
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : true)
m_dep = cc.find_library('m', required : false)
glib_dep = dependency('glib-2.0', version: '>= 2.38',
fallback: ['glib', 'libglib_dep'])