mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-26 01:44:55 +01:00
Add missing rtlsdrConfig.cmake
This file was missing in commit 849f8efca42b659bf7e8fe17156ee0aa67b47233.
This commit is contained in:
parent
f016af882f
commit
3d7cdc5221
8
cmake/rtlsdrConfig.cmake
Normal file
8
cmake/rtlsdrConfig.cmake
Normal file
@ -0,0 +1,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()
|
Loading…
x
Reference in New Issue
Block a user