[gnome-mines] Fix #33: Add libmath dependency
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Fix #33: Add libmath dependency
- Date: Tue, 8 Jan 2019 11:23:17 +0000 (UTC)
commit d94858b4212665f6ad0e3d8f536b7218c77cce30
Author: Robert Roth <robert roth bee-tf ro>
Date: Tue Jan 8 13:22:58 2019 +0200
Fix #33: Add libmath dependency
meson.build | 2 ++
src/meson.build | 1 +
2 files changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index c0b4f22..33cdb54 100644
--- a/meson.build
+++ b/meson.build
@@ -11,6 +11,7 @@ app_id = 'org.gnome.Mines'
gnome = import ('gnome')
i18n = import ('i18n')
+cc = meson.get_compiler('c')
# Paths
mandir = join_paths (get_option ('prefix'), get_option ('mandir'))
@@ -24,6 +25,7 @@ gee_dep = dependency ('gee-0.8')
gtk_dep = dependency ('gtk+-3.0', version: '>= 3.12')
librsvg_dep = dependency ('librsvg-2.0', version: '>=2.32.0')
libgnome_games_support_dep = dependency ('libgnome-games-support-1')
+libmath_dep = cc.find_library('m')
subdir ('po')
subdir ('data')
diff --git a/src/meson.build b/src/meson.build
index 541487f..de26471 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -13,6 +13,7 @@ gnome_mines = executable ('gnome-mines',
gee_dep,
gtk_dep,
librsvg_dep,
+ libmath_dep,
libgnome_games_support_dep ],
vala_args: [ '--pkg=posix' ],
c_args: [ '-DVERSION="@0@"'.format (meson.project_version ()),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]