use find_library() for libm

This commit is contained in:
Dima Krasner 2021-12-22 08:14:39 +02:00 committed by Jente Hidskes
parent 0e87c2c8d8
commit f44ba0cea2

View file

@ -39,7 +39,7 @@ wlroots = dependency('wlroots', version: '>= 0.15.0', fallback: ['wlroots
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')
xkbcommon = dependency('xkbcommon')
math = dependency('m')
math = cc.find_library('m')
wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')
wayland_scanner = find_program('wayland-scanner')