mirror of https://github.com/microsoft/vcpkg.git
[trantor] spdlog feature added (#50617)
This commit is contained in:
parent
fa02f5bcff
commit
ea13a5784c
|
|
@ -9,8 +9,17 @@ vcpkg_from_github(
|
|||
001-disable-werror.patch
|
||||
)
|
||||
|
||||
set(feature_options)
|
||||
if("spdlog" IN_LIST FEATURES)
|
||||
list(APPEND feature_options "-DUSE_SPDLOG=ON")
|
||||
else()
|
||||
list(APPEND feature_options "-DUSE_SPDLOG=OFF")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${feature_options}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "trantor",
|
||||
"version-semver": "1.5.26",
|
||||
"port-version": 1,
|
||||
"description": "A non-blocking I/O cross-platform TCP network library, using C++14",
|
||||
"homepage": "https://github.com/an-tao/trantor",
|
||||
"license": "BSD-2-Clause",
|
||||
|
|
@ -15,5 +16,13 @@
|
|||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"spdlog": {
|
||||
"description": "Enable spdlog support in trantor Logger",
|
||||
"dependencies": [
|
||||
"spdlog"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10090,7 +10090,7 @@
|
|||
},
|
||||
"trantor": {
|
||||
"baseline": "1.5.26",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"tre": {
|
||||
"baseline": "0.8.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c5f490cbc684ee7794ada83ee786fa49cee7e43e",
|
||||
"version-semver": "1.5.26",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9fba5fa2a56822dcaedc7e9813356635a53c28e4",
|
||||
"version-semver": "1.5.26",
|
||||
|
|
|
|||
Loading…
Reference in New Issue