From 5424d37e388fbc68343d05acffaed29b7698dd9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 May 2023 12:44:32 -0400 Subject: Use files() for headers in meson --- bindings/cpp/include/meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bindings/cpp') 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 # 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') -- cgit v1.2.1