[nanopb] use right var (#39776)

This commit is contained in:
autoantwort 2024-07-09 19:19:24 +02:00 committed by GitHub
parent a715fc59a4
commit c5a527abe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 2 deletions

View File

@ -43,7 +43,7 @@ vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
if(nanopb_BUILD_GENERATOR)
file(INSTALL "${CURRENT_PACKAGES_DIR}/bin/generator/" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
if(WIN32)
if(VCPKG_TARGET_IS_WINDOWS)
file(INSTALL "${CURRENT_PACKAGES_DIR}/bin/nanopb_generator.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
file(INSTALL "${CURRENT_PACKAGES_DIR}/bin/protoc-gen-nanopb.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
else()

View File

@ -1,6 +1,7 @@
{
"name": "nanopb",
"version-semver": "0.4.8",
"port-version": 1,
"description": "A small code-size Protocol Buffers implementation in ANSI C.",
"homepage": "https://jpa.kapsi.fi/nanopb/",
"license": "Zlib",

View File

@ -6098,7 +6098,7 @@
},
"nanopb": {
"baseline": "0.4.8",
"port-version": 0
"port-version": 1
},
"nanoprintf": {
"baseline": "0.3.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "08dcb204cd192ab2022b8d2f1f84cf480db0fb44",
"version-semver": "0.4.8",
"port-version": 1
},
{
"git-tree": "4081435b822c87880779d5b6e9a763ee0389aa79",
"version-semver": "0.4.8",