mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:09:07 +08:00
[libusb] build fails on windows due to symlink in extracted archive (#12656)
* Update CONTROL * Change CONTROL file to use new Version and Port-Version setup * Increment Port-Version from 1 to 2 * Update portfile.cmake * Remove the README file after the file extract process from archive * The README file is a symlink to README.md but symlinks cause issues with MSBUILD on windows * Update portfile.cmake
This commit is contained in:
parent
1ed263bc52
commit
3ecb635ef1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user