mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 01:24:47 +08:00
[libusb] Fix the support for Visual Studio 2019 (#16839)
* [libusb] Fix the support for Visual Studio 2019 * Update versions
This commit is contained in:
parent
b35f1edc23
commit
9327b5c5bf
@ -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
|
@ -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()
|
||||
|
8
ports/libusb/vcpkg.json
Normal file
8
ports/libusb/vcpkg.json
Normal file
@ -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"
|
||||
}
|
@ -3510,7 +3510,7 @@
|
||||
},
|
||||
"libusb": {
|
||||
"baseline": "1.0.24",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"libusb-win32": {
|
||||
"baseline": "1.2.6.0-6",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0d77c2046af91be18e4af15b3a9b3e7f0024fa18",
|
||||
"version": "1.0.24",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "419808531bfc5a58d7581dc700a2560a3ab7265e",
|
||||
"version-string": "1.0.24",
|
||||
|
Loading…
Reference in New Issue
Block a user