aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/include/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-27 12:44:32 -0400
committerDavid Robillard <d@drobilla.net>2023-05-27 12:44:32 -0400
commit5424d37e388fbc68343d05acffaed29b7698dd9c (patch)
tree791d432e2838aedea2d95e8330e2794dce7c7c61 /bindings/cpp/include/meson.build
parent6514fbd3fd8e72950d0867f2ab1ce14dc44b0371 (diff)
downloadpugl-5424d37e388fbc68343d05acffaed29b7698dd9c.tar.gz
pugl-5424d37e388fbc68343d05acffaed29b7698dd9c.tar.bz2
pugl-5424d37e388fbc68343d05acffaed29b7698dd9c.zip
Use files() for headers in meson
Diffstat (limited to 'bindings/cpp/include/meson.build')
-rw-r--r--bindings/cpp/include/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/bindings/cpp/include/meson.build b/bindings/cpp/include/meson.build
index 3b779f8..2521f8e 100644
--- a/bindings/cpp/include/meson.build
+++ b/bindings/cpp/include/meson.build
@@ -1,15 +1,13 @@
# Copyright 2021 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-cpp_headers = [
+cpp_headers = files(
'pugl/pugl.hpp',
'pugl/cairo.hpp',
'pugl/gl.hpp',
'pugl/stub.hpp',
'pugl/vulkan.hpp',
-]
-
-cpp_header_files = files(cpp_headers)
+)
install_headers(cpp_headers, subdir: 'puglpp' + version_suffix / 'pugl')