From 7a2ce9399883ad3b3f5c33bea389bef8c5d35742 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 14 Oct 2023 08:35:24 +0400 Subject: [PATCH] meson: Generate pkgconfig file Lets multiple projects use the same Tracy library. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 4224a3f9..6b20da4b 100644 --- a/meson.build +++ b/meson.build @@ -190,6 +190,9 @@ if tracy_shared_libs tracy_dep_compile_args += [ '-DTRACY_IMPORTS' ] endif +pkg = import('pkgconfig') +pkg.generate(tracy, extra_cflags: tracy_dep_compile_args) + tracy_dep = declare_dependency( compile_args : tracy_dep_compile_args, link_with : tracy,