[libgit2-glib] meson: Move meson modules and includes
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] meson: Move meson modules and includes
- Date: Sat, 9 Feb 2019 13:01:33 +0000 (UTC)
commit 0f4bd39784076dcf7ded7ae183cf533d69c6505c
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Mon Nov 12 12:42:52 2018 +0100
meson: Move meson modules and includes
meson modules and global directory include have been moved so they
are available and usable early.
meson.build | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 13b6611..fddcb9c 100644
--- a/meson.build
+++ b/meson.build
@@ -43,6 +43,11 @@ libgit2_glib_datadir = join_paths(libgit2_glib_prefix, get_option('datadir'))
libgit2_glib_pkgincludedir = join_paths(libgit2_glib_includedir, libgit2_glib_api_name, meson.project_name())
+gnome = import('gnome')
+pkg = import('pkgconfig')
+
+top_inc = include_directories('.')
+
cc = meson.get_compiler('c')
# Compiler and Debugging flags
@@ -105,8 +110,6 @@ add_project_arguments(common_flags, language: 'c')
# Termios
have_termios = cc.has_header('termios.h')
-top_inc = include_directories('.')
-
# Required dependencies
git2_req = '0.25.0'
glib_req = '2.44.0'
@@ -160,9 +163,6 @@ if enable_python
meson.add_install_script('meson_python_compile.py', libgit2_glib_libdir)
endif
-gnome = import('gnome')
-pkg = import('pkgconfig')
-
subdir('libgit2-glib')
subdir('examples')
subdir('tests')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]