Skip to content

Commit

Permalink
[glog] Add feature WITH_CUSTOM_PREFIX (#27215)
Browse files Browse the repository at this point in the history
* Add feature customprefix

* update
  • Loading branch information
Adela0814 committed Oct 17, 2022
1 parent 9415bda commit 14e9a65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ports/glog/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ vcpkg_from_github(
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
unwind WITH_UNWIND
unwind WITH_UNWIND
customprefix WITH_CUSTOM_PREFIX
)
file(REMOVE "${SOURCE_PATH}/glog-modules.cmake.in")

Expand Down
4 changes: 4 additions & 0 deletions ports/glog/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "glog",
"version": "0.6.0",
"port-version": 1,
"description": "C++ implementation of the Google logging module",
"homepage": "https://github.com/google/glog",
"license": "BSD-3-Clause",
Expand All @@ -16,6 +17,9 @@
}
],
"features": {
"customprefix": {
"description": "Enable support for user-generated message prefixes"
},
"unwind": {
"description": "Enable libunwind support",
"supports": "linux"
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@
},
"glog": {
"baseline": "0.6.0",
"port-version": 0
"port-version": 1
},
"gloo": {
"baseline": "20201203",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/glog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1fceaa6733361ea635af35ec1ce9b3caf47e0ffc",
"version": "0.6.0",
"port-version": 1
},
{
"git-tree": "b1be508a55f3c9cbd8d78b40ac3739365ff301b7",
"version": "0.6.0",
Expand Down

0 comments on commit 14e9a65

Please sign in to comment.