summaryrefslogtreecommitdiff
path: root/include/epoxy
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-03-28 10:08:56 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-03-28 10:08:56 +0100
commit2dafa2f1d3c86ed36ee727994022f61eb8c697d0 (patch)
tree11763665b15369755745aeccf4da6f5dff4706ec /include/epoxy
parent0dfe8403dd5d84e7fc4a444e6cc471e715bd8544 (diff)
downloadlibepoxy-2dafa2f1d3c86ed36ee727994022f61eb8c697d0.tar.gz
Move epoxy_headers definition into include/epoxy
In order to properly depend on headers, both generated and provided, in a separate directory, we need to refer to them using their path. Generated headers already have their full path; for provided ones, we can simply use the `files()` directive. This change should allow using libepoxy as a Meson subproject. Fixes: #115
Diffstat (limited to 'include/epoxy')
-rw-r--r--include/epoxy/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/epoxy/meson.build b/include/epoxy/meson.build
index 12ae719..65f83be 100644
--- a/include/epoxy/meson.build
+++ b/include/epoxy/meson.build
@@ -39,4 +39,6 @@ foreach g: generated_headers
headers += [ header ]
endforeach
+epoxy_headers = files(headers) + gen_headers
+
install_headers(headers, subdir: 'epoxy')