diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-06-30 11:38:51 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-06-30 11:38:51 +0200 |
commit | 160b3aa66db05214e2952a53e6328dbc78b4acfe (patch) | |
tree | 91f19fcb5c13a0770d2bd99c1f26a3225a674bb1 | |
parent | e5905e15b8192570a5a4b16c91fa86178fabb18f (diff) | |
download | geocode-glib-160b3aa66db05214e2952a53e6328dbc78b4acfe.tar.gz |
build: Install soup3 build as API version 2.0
-rw-r--r-- | meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build index a87603b..3dc7974 100644 --- a/meson.build +++ b/meson.build @@ -7,7 +7,11 @@ gclib_major_version = ver_arr[0] gclib_minor_version = ver_arr[1] gclib_micro_version = ver_arr[2] -gclib_api_version='1.0' +if get_option('soup2') + gclib_api_version='1.0' +else + gclib_api_version='2.0' +endif conf = configuration_data() conf.set_quoted('VERSION', gclib_version) |