mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-11-03 13:11:20 -05:00
Fixed Soapy SDR find module. Implements issue #519
This commit is contained in:
parent
98a1bfab39
commit
10ac87db27
@ -9,9 +9,9 @@ if(NOT SOAPYSDR_FOUND)
|
||||
set(${VERSION} "${CMAKE_MATCH_1}" PARENT_SCOPE)
|
||||
endfunction(_SOAPY_SDR_GET_ABI_VERSION)
|
||||
|
||||
pkg_check_modules (LIBSOAPYSDR_PKG soapysdr>=0.4.0)
|
||||
pkg_search_module (LIBSOAPYSDR_PKG soapysdr>=0.4.0 SoapySDR>=0.4.0)
|
||||
|
||||
if(LIBSOAPYSDR_PKG_FOUND OR (DEFINED SOAPYSDR_DIR))
|
||||
if(NOT LIBSOAPYSDR_PKG_FOUND OR (DEFINED SOAPYSDR_DIR))
|
||||
|
||||
find_path (SOAPYSDR_INCLUDE_DIR
|
||||
NAMES SoapySDR/Version.h
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user