mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-14 14:32:52 +01:00
9 lines
244 B
CMake
9 lines
244 B
CMake
|
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()
|