mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:09:01 +08:00
2459c7c4ba
* Add rtlsdr port * Update ci.baseline.txt * Update to use github mirror in portfile.cmake Co-authored-by: Egor Chesakov <echesakov@users.noreply.github.com>
18 lines
288 B
CMake
18 lines
288 B
CMake
find_path(
|
|
LIBUSB_INCLUDE_DIRS
|
|
NAMES libusb.h
|
|
PATH_SUFFIXES libusb-1.0
|
|
)
|
|
|
|
find_library(
|
|
LIBUSB_LIBRARIES
|
|
NAMES libusb-1.0
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(
|
|
LIBUSB
|
|
REQUIRED_VARS LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS
|
|
)
|