mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
Add header-only Meson support (#955)
* Add header-only Meson support This allows users to call `dependency('httplib')` and have the include directory automatically configured * Rename `httplib` to `cpp-httplib`
This commit is contained in:
parent
5a43bb8149
commit
1a2faf09e0
1 changed files with 7 additions and 0 deletions
7
meson.build
Normal file
7
meson.build
Normal file
|
@ -0,0 +1,7 @@
|
|||
project('cpp-httplib', 'cpp', license: 'MIT')
|
||||
|
||||
cpp_httplib_dep = declare_dependency(include_directories: include_directories('.'))
|
||||
|
||||
if meson.version().version_compare('>=0.54.0')
|
||||
meson.override_dependency('cpp-httplib', cpp_httplib_dep)
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue