diff --git a/meson.build b/meson.build index c9cd2ae..953fd30 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,8 @@ project( i18n = import('i18n') gnome = import('gnome') valac = meson.get_compiler('vala') +c = meson.get_compiler('c') + srcdir = meson.project_source_root() / 'src' diff --git a/src/meson.build b/src/meson.build index dc2ac79..32da55f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -17,7 +17,8 @@ deps = [ config_dep, dependency('gtk4'), dependency('libadwaita-1', version: '>= 1.4'), - dependency('libssc') + dependency('libssc'), + c.find_library('m') ] blueprints = custom_target( diff --git a/src/window.vala b/src/window.vala index 0f54142..979eeaa 100644 --- a/src/window.vala +++ b/src/window.vala @@ -44,7 +44,6 @@ public class TheCatTools.Window : Adw.ApplicationWindow { } catch (Error err) { message("Failed to open Sensor %s", err.message); } - // gyro.open_sync(null); } public Window(Gtk.Application app) {