1
0
mirror of synced 2025-04-20 11:47:43 +03: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:
Andrea Pappacoda 2021-06-05 22:45:00 +02:00 committed by GitHub
parent 5a43bb8149
commit 1a2faf09e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
meson.build Normal file
View 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