mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 19:27:49 +08:00
8abeb71402
* fix usage * update version * redo x64-windows.cmake * resolve conflicts * updaet git-tree * fix downstream * update version * fix libirecovery * update git-tree * fix pkg_check_modules * update git-tree * fix libfreenect2 * update version * fix libuvc * update version * fix libuvc patch * update git-tree * fix libuvc build_fix.patch * update git-tree * format * update git-tree * undo supports * update git-tree * fix azure-kinect-sensor-sdk * update version * add pkg-config.exe * update git-tree * disable build examples and tests * update git-tree --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
6 lines
222 B
Plaintext
6 lines
222 B
Plaintext
libusb can be imported via CMake FindPkgConfig module:
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(libusb REQUIRED IMPORTED_TARGET libusb-1.0)
|
|
|
|
target_link_libraries(main PRIVATE PkgConfig::libusb)
|