mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 02:52:46 +08:00
[hidapi] Fix cmake error (#22320)
* [hidapi] Fix cmake error * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
00b791920a
commit
f2fa2feb0c
@ -16,6 +16,8 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hidapi/hidapi.cmake" "\"/hidapi\"" "\"\${_IMPORT_PREFIX}/include\"")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE-bsd.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "hidapi",
|
||||
"version-semver": "0.11.2",
|
||||
"port-version": 1,
|
||||
"description": "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows.",
|
||||
"homepage": "https://github.com/libusb/hidapi",
|
||||
"license": "BSD-3-Clause-Clear",
|
||||
|
@ -2694,7 +2694,7 @@
|
||||
},
|
||||
"hidapi": {
|
||||
"baseline": "0.11.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"highfive": {
|
||||
"baseline": "2.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "145fcc6e2c3aa564666793d494a6b90c1323e0ac",
|
||||
"version-semver": "0.11.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "afa485fda08f51ccd3fbf54327ba44aa11b8cb32",
|
||||
"version-semver": "0.11.2",
|
||||
|
Loading…
Reference in New Issue
Block a user