mirror of https://github.com/microsoft/vcpkg.git
[nng] Update to v1.5.1 (#19478)
* [nng] Update to v1.5.1 * [nng] Bump version * [nng] Quote source path * [nng] Bump version
This commit is contained in:
parent
f0679e2444
commit
b74d9b2519
|
|
@ -1,33 +1,33 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nanomsg/nng
|
||||
REF d020adda8f0348d094790618703b8341a26007a3 # version 1.4.0
|
||||
SHA512 dbbbee25ddbfece77336b9be9e63ae331b2991cb94a7a71141faf519f02aa1f123f72f89b98964e24ebc5ced786034b6dac60d8ef905376b6fb5fb7dbff49bd6
|
||||
REF 9fcf039b573d153ba9bbc2beb5f11259ddacdcff # v1.5.1
|
||||
SHA512 3db2668c3f971dc54156df2a3520645224fbb55460957da35940889c3148cb2cbc67c10cd23b9614ece70235d1f6003618310129eb9c40ced42db058c140dd58
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
mbedtls NNG_ENABLE_TLS
|
||||
tools NNG_ENABLE_NNGCAT
|
||||
FEATURES
|
||||
mbedtls NNG_ENABLE_TLS
|
||||
tools NNG_ENABLE_NNGCAT
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DNNG_TESTS=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nng)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nng)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_replace_string(
|
||||
${CURRENT_PACKAGES_DIR}/include/nng/nng.h
|
||||
"${CURRENT_PACKAGES_DIR}/include/nng/nng.h"
|
||||
"defined(NNG_SHARED_LIB)"
|
||||
"0 /* defined(NNG_SHARED_LIB) */"
|
||||
)
|
||||
|
|
@ -50,6 +50,6 @@ if ("tools" IN_LIST FEATURES)
|
|||
vcpkg_copy_tools(TOOL_NAMES nngcat AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
|
|
|||
|
|
@ -1,9 +1,19 @@
|
|||
{
|
||||
"name": "nng",
|
||||
"version-string": "1.4.0",
|
||||
"version-semver": "1.5.1",
|
||||
"description": "nanomsg-next-gen, lightweight messaging library",
|
||||
"homepage": "https://nng.nanomsg.org",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"mbedtls": {
|
||||
"description": "nng TLS support",
|
||||
|
|
|
|||
|
|
@ -4473,7 +4473,7 @@
|
|||
"port-version": 1
|
||||
},
|
||||
"nng": {
|
||||
"baseline": "1.4.0",
|
||||
"baseline": "1.5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"nngpp": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ec4958fd8785c45084ce752f527ab7ef7acd69a7",
|
||||
"version-semver": "1.5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "6fce71079b3518a4449743fb055a45a8a881d4a5",
|
||||
"version-string": "1.4.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue