Cemu/dependencies/vcpkg_overlay_ports_mac/libusb/usage

6 lines
217 B
Plaintext
Raw Normal View History

2024-01-16 02:46:56 +01:00
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)