Skip to content

Commit

Permalink
[drogon]: list new yaml-cpp dep under yaml feature (#35715)
Browse files Browse the repository at this point in the history
  • Loading branch information
justend29 authored Dec 18, 2023
1 parent 06a5b0d commit 7fbe1ef
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ports/drogon/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ vcpkg_check_features(
postgres LIBPQ_BATCH_MODE
redis BUILD_REDIS
sqlite3 BUILD_SQLITE
yaml BUILD_YAML_CONFIG
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_DROGON_SHARED)
Expand All @@ -40,7 +41,7 @@ vcpkg_cmake_configure(
-DCMAKE_DISABLE_FIND_PACKAGE_Boost=ON
-DUSE_SUBMODULE=OFF
"-DDROGON_CTL_TOOL=${DROGON_CTL_TOOL}"
${FEATURE_OPTIONS}
${FEATURE_OPTIONS}
MAYBE_UNUSED_VARIABLES
CMAKE_DISABLE_FIND_PACKAGE_Boost
)
Expand Down
7 changes: 7 additions & 0 deletions ports/drogon/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "drogon",
"version-semver": "1.9.1",
"port-version": 1,
"description": "A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows",
"homepage": "https://github.com/an-tao/drogon",
"documentation": "https://drogon.docsforge.com/master/overview/",
Expand Down Expand Up @@ -98,6 +99,12 @@
},
"sqlite3"
]
},
"yaml": {
"description": "Support YAML Drogon configuration files",
"dependencies": [
"yaml-cpp"
]
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,7 @@
},
"drogon": {
"baseline": "1.9.1",
"port-version": 0
"port-version": 1
},
"dstorage": {
"baseline": "1.2.2",
Expand Down
7 changes: 6 additions & 1 deletion versions/d-/drogon.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"versions": [
{
"git-tree": "2258c21d158a9c39a058f30d88d6a8a9e8172e5b",
"version-semver": "1.9.1",
"port-version": 1
},
{
"git-tree": "72953f06e1c7a3195daa8549c9d2b46d42125822",
"version-semver": "1.9.1",
"port-version": 0
"port-version": 0
},
{
"git-tree": "3dc8fd6d40ad624513353e295fbd39a0dd237c91",
Expand Down

0 comments on commit 7fbe1ef

Please sign in to comment.