Skip to content

Commit

Permalink
Add missing rtlsdrConfig.cmake
Browse files Browse the repository at this point in the history
This file was missing in commit
849f8ef.
  • Loading branch information
steve-m committed Feb 26, 2020
1 parent f016af8 commit 3d7cdc5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/rtlsdrConfig.cmake
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 3d7cdc5

Please sign in to comment.