forked from sdr/rtl-sdr
Use library paths from pkg-config
Signed-off-by: Clayton Smith <argilo@gmail.com>
This commit is contained in:
parent
420086af84
commit
c945bd075c
|
@ -71,6 +71,7 @@ find_package(PkgConfig)
|
|||
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(LIBUSB libusb-1.0 IMPORTED_TARGET)
|
||||
set(LIBUSB_LIBRARIES "${LIBUSB_LINK_LIBRARIES}")
|
||||
else()
|
||||
set(LIBUSB_LIBRARIES "" CACHE STRING "manual libusb path")
|
||||
set(LIBUSB_INCLUDE_DIRS "" CACHE STRING "manual libusb includepath")
|
||||
|
|
Loading…
Reference in New Issue