aboutsummaryrefslogtreecommitdiff
path: root/ports/libusb/portfile.cmake
diff options
context:
space:
mode:
authorjasjuang <jasjuang@gmail.com>2017-11-18 16:07:49 -0800
committerjasjuang <jasjuang@gmail.com>2017-11-18 16:07:49 -0800
commitcd9d32721d4a200cf04520175eaafd84ee1c8f31 (patch)
tree825d8dc5cec0c98ef78daa1c934fcf62bef89f23 /ports/libusb/portfile.cmake
parent06819e43e30b64769d1ef036d20f6038dab4da34 (diff)
downloadvcpkg-cd9d32721d4a200cf04520175eaafd84ee1c8f31.tar.gz
vcpkg-cd9d32721d4a200cf04520175eaafd84ee1c8f31.zip
[libusb] apply patch to make it libfreenect2 compatible
Diffstat (limited to 'ports/libusb/portfile.cmake')
-rw-r--r--ports/libusb/portfile.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/libusb/portfile.cmake b/ports/libusb/portfile.cmake
index 398fdcfd1..cd99405e6 100644
--- a/ports/libusb/portfile.cmake
+++ b/ports/libusb/portfile.cmake
@@ -16,6 +16,11 @@ vcpkg_from_github(
HEAD_REF master
)
+vcpkg_apply_patches(
+ SOURCE_PATH ${SOURCE_PATH}
+ PATCHES "${CMAKE_CURRENT_LIST_DIR}/libfreenect2.patch"
+)
+
if (TRIPLET_SYSTEM_ARCH MATCHES "x86")
set(MSBUILD_PLATFORM "Win32")
else ()