diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libusb/CONTROL | 6 | ||||
| -rw-r--r-- | ports/libusb/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/libusb/vcpkg.json | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/ports/libusb/CONTROL b/ports/libusb/CONTROL deleted file mode 100644 index 0d57f8300..000000000 --- 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 f6f972ae5..153dedf13 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 000000000..5649425e8 --- /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" +} |
