libm is only required on Linux

This commit is contained in:
Sebastian Ramacher 2018-04-03 00:59:51 +02:00
parent 6dc30dc68b
commit 2446de2bc5

View file

@ -36,7 +36,7 @@ dbusinterfacesdir = join_paths(datadir, 'dbus-1', 'interfaces')
plugindir = join_paths(get_option('libdir'), 'zathura')
# required dependencies
libm = cc.find_library('libm')
libm = cc.find_library('libm', required: false)
girara = dependency('girara-gtk3', version: '>=0.2.9')
glib = dependency('glib-2.0', version: '>=2.50')
gthread = dependency('gthread-2.0', version: '>=2.50')