[glibmm/mkolny/meson-build] fix include problems



commit 6fe7fe58fbc59d8a2f9262937cd905957f355a10
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Sun Jul 30 17:17:30 2017 +0100

    fix include problems

 gio/giomm/meson.build   |    2 +-
 glib/glibmm/meson.build |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gio/giomm/meson.build b/gio/giomm/meson.build
index 2a88dfe..cbc1e00 100644
--- a/gio/giomm/meson.build
+++ b/gio/giomm/meson.build
@@ -178,7 +178,7 @@ foreach giomm_module : giomm_modules
                join_paths('gio', 'giomm')])
 endforeach
 
-giomm_includes = include_directories('..', 'gio', join_paths('..', '..', 'glib'))
+giomm_includes = include_directories('..')
 
 giomm_library = shared_library(
   'giomm',
diff --git a/glib/glibmm/meson.build b/glib/glibmm/meson.build
index 54e2052..6754b1e 100644
--- a/glib/glibmm/meson.build
+++ b/glib/glibmm/meson.build
@@ -121,7 +121,7 @@ foreach m4_file : glibmm_m4_files
 endforeach
 
 
-glibmm_includes = include_directories('..', 'glib')
+glibmm_includes = include_directories('..')
 
 glibmm_library = shared_library(
   'glibmm',
@@ -129,4 +129,6 @@ glibmm_library = shared_library(
   include_directories : glibmm_includes,
   dependencies : [glibdep, sigcppdep, gobjectdep, gmoduledep])
 
-glibmm_dep = declare_dependency(link_with : glibmm_library)
\ No newline at end of file
+glibmm_dep = declare_dependency(
+  link_with : glibmm_library,
+  include_directories : include_directories('..'))
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]