aboutsummaryrefslogtreecommitdiff
path: root/ports/libusb/usage
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-25 18:52:55 -0700
committerGitHub <noreply@github.com>2020-08-25 18:52:55 -0700
commit0522f981f9c6e4a41f0c2bfef3f305b5aa35489f (patch)
tree542b6f2808b25fa50436a1956ae6b202e7842589 /ports/libusb/usage
parentfd7e280af8f4ca07511feed31471c71c71460e6f (diff)
downloadvcpkg-0522f981f9c6e4a41f0c2bfef3f305b5aa35489f.tar.gz
vcpkg-0522f981f9c6e4a41f0c2bfef3f305b5aa35489f.zip
[libusb] Add vcpkg-cmake-wrapper (#13057)
Diffstat (limited to 'ports/libusb/usage')
-rw-r--r--ports/libusb/usage5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/libusb/usage b/ports/libusb/usage
new file mode 100644
index 000000000..de236d46a
--- /dev/null
+++ b/ports/libusb/usage
@@ -0,0 +1,5 @@
+The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:
+
+ find_package(@PORT@ CONFIG REQUIRED)
+ target_include_directories(main PRIVATE ${LIBUSB_INCLUDE_DIRS})
+ target_link_libraries(main PRIVATE ${LIBUSB_LIBRARIES})