fix for soapy cmake in non x86

master
yagoda 8 years ago
parent fe7f0245d5
commit 0e3cbacfaa

@ -7,7 +7,7 @@ if(NOT SOAPYSDR_FOUND)
NAMES Device.h
PATHS ${SOAPYSDR_PKG_INCLUDE_DIRS}
/usr/include/SoapySDR
/usr/include/local/SoapySDR
/usr/local/include/SoapySDR
)
find_library(SOAPYSDR_LIBRARIES
@ -15,9 +15,10 @@ if(NOT SOAPYSDR_FOUND)
PATHS ${LIMESDR_PKG_LIBRARY_DIRS}
/usr/lib
/usr/local/lib
/usr/lib/arm-linux-gnueabihf
)
if(SOAPYSDR_INCLUDE_DIRS AND SOAPYSDR_LIBRARIES)
set(SOAPYSDR_FOUND TRUE CACHE INTERNAL "libSOAPYSDR found")
message(STATUS "Found libSOAPYSDR: ${SOAPYSDR_INCLUDE_DIRS}, ${SOAPYSDR_LIBRARIES}")

Loading…
Cancel
Save