diff options
author | Richard Hughes <richard@hughsie.com> | 2019-11-23 12:28:43 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-11-23 20:16:09 +0000 |
commit | 43b327a1e213aff00833842c455a796a068077cd (patch) | |
tree | b71015f44878c8de6bc7fbb1096b7d3b32d67b15 /gusb | |
parent | 8836a499232aaed11b1f00db861044b4dcd9d5fc (diff) | |
download | gusb-43b327a1e213aff00833842c455a796a068077cd.tar.gz |
trivial: Allow compiling as a subproject
Diffstat (limited to 'gusb')
-rw-r--r-- | gusb/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gusb/meson.build b/gusb/meson.build index 8415bf3..357a845 100644 --- a/gusb/meson.build +++ b/gusb/meson.build @@ -68,6 +68,15 @@ gusb = shared_library( install : true ) +gusb_dep = declare_dependency( + link_with : gusb, + include_directories : [ + root_incdir, + lib_incdir, + ], + dependencies : gusb_deps +) + pkgg = import('pkgconfig') pkgg.generate( libraries : gusb, |