aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/libusb/CONTROL3
-rw-r--r--ports/libusb/portfile.cmake4
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/libusb/CONTROL b/ports/libusb/CONTROL
index 863b2d08b..accbf3d0e 100644
--- a/ports/libusb/CONTROL
+++ b/ports/libusb/CONTROL
@@ -1,5 +1,6 @@
Source: libusb
-Version: 1.0.23-1
+Version: 1.0.23
+Port-Version: 2
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 00bdbae79..74a592f41 100644
--- a/ports/libusb/portfile.cmake
+++ b/ports/libusb/portfile.cmake
@@ -39,6 +39,10 @@ if(VCPKG_TARGET_IS_WINDOWS)
endif()
endif()
+ # The README file in the archive is a symlink to README.md
+ # which causes issues with the windows MSBUILD process
+ file(REMOVE ${SOURCE_PATH}/README)
+
vcpkg_install_msbuild(
SOURCE_PATH ${SOURCE_PATH}
PROJECT_SUBPATH msvc/libusb_${LIBUSB_PROJECT_TYPE}_${MSVS_VERSION}.vcxproj