projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d30f9
)
meson.build(): don't use absolute path for include_dir()
author
Nikolaus Rath
<Nikolaus@rath.org>
Wed, 15 Mar 2017 23:52:39 +0000
(16:52 -0700)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Wed, 15 Mar 2017 23:52:39 +0000
(16:52 -0700)
No longer supported in Meson 0.39.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index bcb3a104b879ac7e85882a49dadcbc7d4ec72130..71c8ae23d855f249a3488f371b68947b2bdf7916 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-76,9
+76,8
@@
if not cc.compiles(code, args: [ '-O0', '-Werror=unused-result' ])
add_global_arguments('-Wno-unused-result', language: 'c')
endif
-# current_build_dir() contains config.h
-include_dirs = include_directories('include', 'lib',
- meson.current_build_dir())
+# '.' will refer to current build directory, which contains config.h
+include_dirs = include_directories('include', 'lib', '.')
# Common dependencies
thread_dep = dependency('threads')