diff --git a/ports/nanopb/portfile.cmake b/ports/nanopb/portfile.cmake index fada669994..d2fa1c6cc3 100644 --- a/ports/nanopb/portfile.cmake +++ b/ports/nanopb/portfile.cmake @@ -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() diff --git a/ports/nanopb/vcpkg.json b/ports/nanopb/vcpkg.json index 9e44e984d4..3e836f62c1 100644 --- a/ports/nanopb/vcpkg.json +++ b/ports/nanopb/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 54954af02b..3023890c82 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6098,7 +6098,7 @@ }, "nanopb": { "baseline": "0.4.8", - "port-version": 0 + "port-version": 1 }, "nanoprintf": { "baseline": "0.3.4", diff --git a/versions/n-/nanopb.json b/versions/n-/nanopb.json index 87304e3fe0..106481635e 100644 --- a/versions/n-/nanopb.json +++ b/versions/n-/nanopb.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "08dcb204cd192ab2022b8d2f1f84cf480db0fb44", + "version-semver": "0.4.8", + "port-version": 1 + }, { "git-tree": "4081435b822c87880779d5b6e9a763ee0389aa79", "version-semver": "0.4.8",