[boost-regex] Fix icu feature (#25505)

Explicitly disable icu feature if not selected in vcpkg

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
This commit is contained in:
Osyotr 2022-07-08 00:28:29 +03:00 committed by GitHub
parent fb3190dcc5
commit 5955c45dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -3,4 +3,6 @@ if("icu" IN_LIST FEATURES)
if(APPLE)
list(APPEND B2_OPTIONS cxxstd=11)
endif()
else()
list(APPEND B2_OPTIONS --disable-icu)
endif()

View File

@ -1,6 +1,7 @@
{
"name": "boost-regex",
"version": "1.79.0",
"port-version": 1,
"description": "Boost regex module",
"homepage": "https://github.com/boostorg/regex",
"license": "BSL-1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "49b26b133e2b9eb16d917930b2c697b58eff5530",
"version": "1.79.0",
"port-version": 1
},
{
"git-tree": "a10bdc49cf30856030ed08921a5a30f3c3f3bdb1",
"version": "1.79.0",

View File

@ -978,7 +978,7 @@
},
"boost-regex": {
"baseline": "1.79.0",
"port-version": 0
"port-version": 1
},
"boost-safe-numerics": {
"baseline": "1.79.0",