diff --git a/ports/libusb/CONTROL b/ports/libusb/CONTROL deleted file mode 100644 index 0d57f830045..00000000000 --- a/ports/libusb/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: libusb -Version: 1.0.24 -Port-Version: 3 -Homepage: https://github.com/libusb/libusb -Description: a cross-platform library to access USB devices -Supports: !uwp diff --git a/ports/libusb/portfile.cmake b/ports/libusb/portfile.cmake index f6f972ae5ed..153dedf13ba 100644 --- a/ports/libusb/portfile.cmake +++ b/ports/libusb/portfile.cmake @@ -14,7 +14,7 @@ vcpkg_from_github( if(VCPKG_TARGET_IS_WINDOWS) if(VCPKG_PLATFORM_TOOLSET MATCHES "v142") - set(MSVS_VERSION 2017) #they are abi compatible, so it should work + set(MSVS_VERSION 2019) elseif(VCPKG_PLATFORM_TOOLSET MATCHES "v141") set(MSVS_VERSION 2017) else() diff --git a/ports/libusb/vcpkg.json b/ports/libusb/vcpkg.json new file mode 100644 index 00000000000..5649425e84f --- /dev/null +++ b/ports/libusb/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "libusb", + "version": "1.0.24", + "port-version": 4, + "description": "a cross-platform library to access USB devices", + "homepage": "https://github.com/libusb/libusb", + "supports": "!uwp" +} diff --git a/versions/baseline.json b/versions/baseline.json index 0d7a50b319b..b4f95458f9b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3510,7 +3510,7 @@ }, "libusb": { "baseline": "1.0.24", - "port-version": 3 + "port-version": 4 }, "libusb-win32": { "baseline": "1.2.6.0-6", diff --git a/versions/l-/libusb.json b/versions/l-/libusb.json index 0d31a85f1a3..502a02100e7 100644 --- a/versions/l-/libusb.json +++ b/versions/l-/libusb.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0d77c2046af91be18e4af15b3a9b3e7f0024fa18", + "version": "1.0.24", + "port-version": 4 + }, { "git-tree": "419808531bfc5a58d7581dc700a2560a3ab7265e", "version-string": "1.0.24",