File: rtlsdrConfig.cmake

package info (click to toggle)
rtl-sdr 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 772 kB
  • sloc: ansic: 9,369; sh: 107; python: 102; makefile: 77; xml: 57
file content (8 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
include(FindPkgConfig)
pkg_check_modules(LIBUSB libusb-1.0 IMPORTED_TARGET)

get_filename_component(RTLSDR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

if(NOT TARGET rtlsdr::rtlsdr)
  include("${RTLSDR_CMAKE_DIR}/rtlsdrTargets.cmake")
endif()