cmake: Export non-default SoapySDR driver path

master
Nils Fürste 3 years ago committed by Andre Puschmann
parent 88878e07c6
commit 13d4fd174b

@ -12,6 +12,8 @@ if(NOT SOAPYSDR_FOUND)
find_path(SOAPYSDR_INCLUDE_DIRS
NAMES Device.h
HINTS $ENV{SOAPY_DIR}/include
$ENV{SOAPY_DIR}/include/SoapySDR
PATHS ${SOAPYSDR_PKG_INCLUDE_DIRS}
/usr/include/SoapySDR
/usr/local/include/SoapySDR
@ -19,6 +21,7 @@ if(NOT SOAPYSDR_FOUND)
find_library(SOAPYSDR_LIBRARIES
NAMES SoapySDR
HINTS $ENV{SOAPY_DIR}/lib
PATHS ${SOAPYSDR_PKG_LIBRARY_DIRS}
/usr/lib
/usr/local/lib

Loading…
Cancel
Save