mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-17 02:08:29 +00:00
Specify version in meson.build (#2139)
Some checks are pending
abidiff / abi (push) Waiting to run
test / style-check (push) Waiting to run
test / ubuntu (32-bit) (push) Waiting to run
test / ubuntu (64-bit) (push) Waiting to run
test / macos (push) Waiting to run
test / windows with SSL (push) Waiting to run
test / windows without SSL (push) Waiting to run
test / windows compiled (push) Waiting to run
Some checks are pending
abidiff / abi (push) Waiting to run
test / style-check (push) Waiting to run
test / ubuntu (32-bit) (push) Waiting to run
test / ubuntu (64-bit) (push) Waiting to run
test / macos (push) Waiting to run
test / windows with SSL (push) Waiting to run
test / windows without SSL (push) Waiting to run
test / windows compiled (push) Waiting to run
I prefer to specify version when I'm calling dependency() and lack of makes me unable to do it
This commit is contained in:
parent
c216dc94d2
commit
366eda72dc
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ if get_option('cpp-httplib_compile')
|
|||
soversion: version.split('.')[0] + '.' + version.split('.')[1],
|
||||
install: true
|
||||
)
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, link_with: lib, sources: httplib_ch[1])
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, link_with: lib, sources: httplib_ch[1], version: version)
|
||||
|
||||
import('pkgconfig').generate(
|
||||
lib,
|
||||
|
@ -98,7 +98,7 @@ if get_option('cpp-httplib_compile')
|
|||
)
|
||||
else
|
||||
install_headers('httplib.h')
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, include_directories: '.')
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, include_directories: '.', version: version)
|
||||
|
||||
import('pkgconfig').generate(
|
||||
name: 'cpp-httplib',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue