1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -05:00

Fixed Soapy SDR find module. Implements issue #519

This commit is contained in:
f4exb 2020-06-20 06:20:36 +02:00
parent 6dee94b218
commit f86cd887f3

View File

@ -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 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