Skip to content

Commit

Permalink
update feature name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengna-Li committed Jul 5, 2022
1 parent b6107f8 commit b01799c
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ports/wxcharts/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vcpkg_from_github(
SHA512 4c52e4ad6d3c4ba496aad7e654ee75ddd9009aadc44be37fc64f3e3ac56001a7e9728f7fdd0c78f8261bff0bf8a6748f8a7649cb160ca37c2d686530c161c2f6
)

if("wxdebug-level" IN_LIST FEATURES)
if("wxdebug-level-0" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DwxBUILD_DEBUG_LEVEL=0)
else()
list(APPEND FEATURE_OPTIONS -DwxBUILD_DEBUG_LEVEL=1)
Expand Down
4 changes: 2 additions & 2 deletions ports/wxcharts/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"wxwidgets"
],
"features": {
"wxdebug-level": {
"description": "Enable assert checks"
"wxdebug-level-0": {
"description": "Disable all assert checks"
}
}
}
2 changes: 1 addition & 1 deletion ports/wxwidgets/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ vcpkg_check_features(
sound wxUSE_SOUND
)

if("wxdebug-level" IN_LIST FEATURES)
if("wxdebug-level-0" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DwxBUILD_DEBUG_LEVEL=0)
else()
list(APPEND FEATURE_OPTIONS -DwxBUILD_DEBUG_LEVEL=1)
Expand Down
4 changes: 2 additions & 2 deletions ports/wxwidgets/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
}
]
},
"wxdebug-level": {
"description": "Enable assert checks"
"wxdebug-level-0": {
"description": "Disable all assert checks"
}
}
}
2 changes: 1 addition & 1 deletion scripts/test_ports/vcpkg-ci-wxwidgets/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS OPTIONS
wxrc USE_WXRC
)

if("wxdebug-level" IN_LIST FEATURES)
if("wxdebug-level-0" IN_LIST FEATURES)
list(APPEND OPTIONS -DwxBUILD_DEBUG_LEVEL=0)
else()
list(APPEND OPTIONS -DwxBUILD_DEBUG_LEVEL=1)
Expand Down
4 changes: 2 additions & 2 deletions scripts/test_ports/vcpkg-ci-wxwidgets/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"wxrc": {
"description": "Test wxrc"
},
"wxdebug_level": {
"description": "Enable assert checks"
"wxdebug-level-0": {
"description": "Disable all assert checks"
}
}
}
2 changes: 1 addition & 1 deletion versions/w-/wxcharts.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "4686b3bb10d91483e279295163a2acf933ec3e1c",
"git-tree": "dcb1f18238e200b8dd963275e1e8c1671c29a05a",
"version-date": "2022-06-16",
"port-version": 1
},
Expand Down
2 changes: 1 addition & 1 deletion versions/w-/wxwidgets.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "458dcf51efd24e81845db35151bcc8cffae960a4",
"git-tree": "7e3832e50b7ae42adc252549be4367fe77cb6ad7",
"version": "3.1.6",
"port-version": 3
},
Expand Down

0 comments on commit b01799c

Please sign in to comment.