mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
Fixed cmake find modules HINTS and PATHS for dependencies that can be compiled locally
This commit is contained in:
parent
42f1128eed
commit
25fd448c56
@ -3,21 +3,21 @@ PKG_CHECK_MODULES(PC_CM256cc "libcm256cc")
|
|||||||
|
|
||||||
FIND_PATH(CM256CC_INCLUDE_DIR
|
FIND_PATH(CM256CC_INCLUDE_DIR
|
||||||
NAMES cm256cc/cm256.h
|
NAMES cm256cc/cm256.h
|
||||||
HINTS ${PC_CM256CC_INCLUDE_DIR}
|
HINTS ${CM256CC_DIR}/include
|
||||||
|
${PC_CM256CC_INCLUDE_DIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/include
|
${CMAKE_INSTALL_PREFIX}/include
|
||||||
PATHS ${CM256CC_DIR}/include
|
PATHS /usr/local/include
|
||||||
/usr/local/include
|
|
||||||
/usr/include
|
/usr/include
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(CM256CC_LIBRARIES
|
FIND_LIBRARY(CM256CC_LIBRARIES
|
||||||
NAMES cm256cc libcm256cc
|
NAMES cm256cc libcm256cc
|
||||||
HINTS ${PC_CM256CC_LIBDIR}
|
HINTS ${CM256CC_DIR}/lib
|
||||||
|
${CM256CC_DIR}/lib64
|
||||||
|
${PC_CM256CC_LIBDIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/lib
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
PATHS ${CM256CC_DIR}/lib
|
PATHS /usr/local/lib
|
||||||
${CM256CC_DIR}/lib64
|
|
||||||
/usr/local/lib
|
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
|
@ -3,21 +3,21 @@ PKG_CHECK_MODULES(PC_CODEC2 "codec2")
|
|||||||
|
|
||||||
FIND_PATH(CODEC2_INCLUDE_DIR
|
FIND_PATH(CODEC2_INCLUDE_DIR
|
||||||
NAMES codec2/codec2.h
|
NAMES codec2/codec2.h
|
||||||
HINTS ${PC_CODEC2_INCLUDE_DIR}
|
HINTS ${CODEC2_DIR}/include
|
||||||
|
${PC_CODEC2_INCLUDE_DIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/include
|
${CMAKE_INSTALL_PREFIX}/include
|
||||||
PATHS ${CODEC2_DIR}/include
|
PATHS /usr/local/include
|
||||||
/usr/local/include
|
|
||||||
/usr/include
|
/usr/include
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(CODEC2_LIBRARIES
|
FIND_LIBRARY(CODEC2_LIBRARIES
|
||||||
NAMES codec2 libcodec2
|
NAMES codec2 libcodec2
|
||||||
HINTS ${PC_CODEC2_LIBDIR}
|
HINTS ${CODEC2_DIR}/lib
|
||||||
|
${CODEC2_DIR}/lib64
|
||||||
|
${PC_CODEC2_LIBDIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/lib
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
PATHS ${CODEC2_DIR}/lib
|
PATHS /usr/local/lib
|
||||||
${CODEC2_DIR}/lib64
|
|
||||||
/usr/local/lib
|
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
|
@ -6,8 +6,7 @@ FIND_PATH(LZ4_INCLUDE_DIRS
|
|||||||
HINTS ${PC_LZ4_INCLUDE_DIR}
|
HINTS ${PC_LZ4_INCLUDE_DIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/include
|
${CMAKE_INSTALL_PREFIX}/include
|
||||||
${LIBLZ4_INSTALL_PREFIX}/include
|
${LIBLZ4_INSTALL_PREFIX}/include
|
||||||
PATHS
|
PATHS /usr/local/include
|
||||||
/usr/local/include
|
|
||||||
/usr/include
|
/usr/include
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -16,8 +15,7 @@ FIND_LIBRARY(LZ4_LIBRARIES
|
|||||||
HINTS ${PC_LZ4_LIBDIR}
|
HINTS ${PC_LZ4_LIBDIR}
|
||||||
${CMAKE_INSTALL_PREFIX}/lib
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
PATHS
|
PATHS ${LZ4_INCLUDE_DIRS}/../lib
|
||||||
${LZ4_INCLUDE_DIRS}/../lib
|
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
/usr/lib
|
/usr/lib
|
||||||
)
|
)
|
||||||
|
@ -4,17 +4,17 @@ if(NOT LIBAIRSPY_FOUND)
|
|||||||
|
|
||||||
find_path(LIBAIRSPY_INCLUDE_DIR
|
find_path(LIBAIRSPY_INCLUDE_DIR
|
||||||
NAMES libairspy/airspy.h
|
NAMES libairspy/airspy.h
|
||||||
PATHS ${AIRSPY_DIR}/include
|
HINTS ${AIRSPY_DIR}/include
|
||||||
${LIBAIRSPY_PKG_INCLUDE_DIRS}
|
${LIBAIRSPY_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBAIRSPY_LIBRARIES
|
find_library(LIBAIRSPY_LIBRARIES
|
||||||
NAMES airspy
|
NAMES airspy
|
||||||
PATHS ${AIRSPY_DIR}/lib
|
HINTS ${AIRSPY_DIR}/lib
|
||||||
${LIBAIRSPY_PKG_LIBRARY_DIRS}
|
${LIBAIRSPY_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,17 +4,17 @@ if(NOT LIBAIRSPYHF_FOUND)
|
|||||||
|
|
||||||
find_path(LIBAIRSPYHF_INCLUDE_DIR
|
find_path(LIBAIRSPYHF_INCLUDE_DIR
|
||||||
NAMES libairspyhf/airspyhf.h
|
NAMES libairspyhf/airspyhf.h
|
||||||
PATHS ${AIRSPYHF_DIR}/include
|
HINTS ${AIRSPYHF_DIR}/include
|
||||||
${LIBAIRSPYHF_PKG_INCLUDE_DIRS}
|
${LIBAIRSPYHF_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBAIRSPYHF_LIBRARIES
|
find_library(LIBAIRSPYHF_LIBRARIES
|
||||||
NAMES airspyhf
|
NAMES airspyhf
|
||||||
PATHS ${AIRSPYHF_DIR}/lib
|
HINTS ${AIRSPYHF_DIR}/lib
|
||||||
${LIBAIRSPYHF_PKG_LIBRARY_DIRS}
|
${LIBAIRSPYHF_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,17 +5,17 @@ if(NOT LIBBLADERF_FOUND)
|
|||||||
if(LIBBLADERF_PKG_FOUND OR (DEFINED BLADERF_DIR))
|
if(LIBBLADERF_PKG_FOUND OR (DEFINED BLADERF_DIR))
|
||||||
find_path(LIBBLADERF_INCLUDE_DIRS
|
find_path(LIBBLADERF_INCLUDE_DIRS
|
||||||
NAMES libbladeRF.h
|
NAMES libbladeRF.h
|
||||||
PATHS ${BLADERF_DIR}/include
|
HINTS ${BLADERF_DIR}/include
|
||||||
${LIBBLADERF_PKG_INCLUDE_DIRS}
|
${LIBBLADERF_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBBLADERF_LIBRARIES
|
find_library(LIBBLADERF_LIBRARIES
|
||||||
NAMES bladeRF
|
NAMES bladeRF
|
||||||
PATHS ${BLADERF_DIR}/lib
|
HINTS ${BLADERF_DIR}/lib
|
||||||
${LIBBLADERF_PKG_LIBRARY_DIRS}
|
${LIBBLADERF_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,18 +6,18 @@ if(NOT LIBDSDCC_FOUND)
|
|||||||
|
|
||||||
find_path(LIBDSDCC_INCLUDE_DIR
|
find_path(LIBDSDCC_INCLUDE_DIR
|
||||||
NAMES dsdcc/dsd_decoder.h
|
NAMES dsdcc/dsd_decoder.h
|
||||||
PATHS ${DSDCC_DIR}/include
|
HINTS ${DSDCC_DIR}/include
|
||||||
${LIBDSDCC_PKG_INCLUDE_DIRS}
|
${LIBDSDCC_PKG_INCLUDE_DIRS}
|
||||||
/usr/include/dsdcc
|
PATHS /usr/include/dsdcc
|
||||||
/usr/local/include/dsdcc
|
/usr/local/include/dsdcc
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBDSDCC_LIBRARIES
|
find_library(LIBDSDCC_LIBRARIES
|
||||||
NAMES dsdcc
|
NAMES dsdcc
|
||||||
PATHS ${DSDCC_DIR}/lib
|
HINTS ${DSDCC_DIR}/lib
|
||||||
${DSDCC_DIR}/lib64
|
${DSDCC_DIR}/lib64
|
||||||
${LIBDSDCC_PKG_LIBRARY_DIRS}
|
${LIBDSDCC_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
|
@ -4,17 +4,17 @@ if(NOT LIBHACKRF_FOUND)
|
|||||||
|
|
||||||
find_path(LIBHACKRF_INCLUDE_DIR
|
find_path(LIBHACKRF_INCLUDE_DIR
|
||||||
NAMES libhackrf/hackrf.h
|
NAMES libhackrf/hackrf.h
|
||||||
PATHS ${HACKRF_DIR}/include
|
HINTS ${HACKRF_DIR}/include
|
||||||
${LIBHACKRF_PKG_INCLUDE_DIRS}
|
${LIBHACKRF_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBHACKRF_LIBRARIES
|
find_library(LIBHACKRF_LIBRARIES
|
||||||
NAMES hackrf
|
NAMES hackrf
|
||||||
PATHS ${HACKRF_DIR}/lib
|
HINTS ${HACKRF_DIR}/lib
|
||||||
${LIBHACKRF_PKG_LIBRARY_DIRS}
|
${LIBHACKRF_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,17 +5,17 @@ if(NOT LIBIIO_FOUND)
|
|||||||
if(LIBIIO_PKG_FOUND OR (DEFINED IIO_DIR))
|
if(LIBIIO_PKG_FOUND OR (DEFINED IIO_DIR))
|
||||||
find_path(LIBIIO_INCLUDE_DIR
|
find_path(LIBIIO_INCLUDE_DIR
|
||||||
NAMES iio.h
|
NAMES iio.h
|
||||||
PATHS ${IIO_DIR}/include
|
HINTS ${IIO_DIR}/include
|
||||||
${LIBIIO_PKG_INCLUDE_DIRS}
|
${LIBIIO_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBIIO_LIBRARIES
|
find_library(LIBIIO_LIBRARIES
|
||||||
NAMES iio
|
NAMES iio
|
||||||
PATHS ${IIO_DIR}/lib
|
HINTS ${IIO_DIR}/lib
|
||||||
${LIBIIO_PKG_LIBRARY_DIRS}
|
${LIBIIO_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
find_path(LIBMBE_INCLUDE_DIR
|
find_path(LIBMBE_INCLUDE_DIR
|
||||||
NAMES mbelib.h
|
NAMES mbelib.h
|
||||||
PATHS ${MBE_DIR}/include
|
HINTS ${MBE_DIR}/include
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ set(LIBMBE_NAMES ${LIBMBE_NAMES} mbe libmbe)
|
|||||||
|
|
||||||
find_library(LIBMBE_LIBRARY
|
find_library(LIBMBE_LIBRARY
|
||||||
NAMES ${LIBMBE_NAMES}
|
NAMES ${LIBMBE_NAMES}
|
||||||
PATHS ${MBE_DIR}/lib
|
HINTS ${MBE_DIR}/lib
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,17 +4,17 @@ if(NOT LIBMIRISDR_FOUND)
|
|||||||
|
|
||||||
find_path(LIBMIRISDR_INCLUDE_DIR
|
find_path(LIBMIRISDR_INCLUDE_DIR
|
||||||
NAMES mirisdr.h
|
NAMES mirisdr.h
|
||||||
PATHS ${MIRISDR_DIR}/include
|
HINTS ${MIRISDR_DIR}/include
|
||||||
${LIBMIRISDR_PKG_INCLUDE_DIRS}
|
${LIBMIRISDR_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBMIRISDR_LIBRARIES
|
find_library(LIBMIRISDR_LIBRARIES
|
||||||
NAMES mirisdr
|
NAMES mirisdr
|
||||||
PATHS ${MIRISDR_DIR}/lib
|
HINTS ${MIRISDR_DIR}/lib
|
||||||
${LIBMIRISDR_PKG_LIBRARY_DIRS}
|
${LIBMIRISDR_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,16 +2,14 @@ if(NOT LIBOSMOSDR_FOUND)
|
|||||||
|
|
||||||
pkg_check_modules (LIBOSMOSDR_PKG libosmosdr)
|
pkg_check_modules (LIBOSMOSDR_PKG libosmosdr)
|
||||||
find_path(LIBOSMOSDR_INCLUDE_DIR NAMES osmosdr.h
|
find_path(LIBOSMOSDR_INCLUDE_DIR NAMES osmosdr.h
|
||||||
PATHS
|
HINTS ${LIBOSMOSDR_PKG_INCLUDE_DIRS}
|
||||||
${LIBOSMOSDR_PKG_INCLUDE_DIRS}
|
PATHS /usr/include
|
||||||
/usr/include
|
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBOSMOSDR_LIBRARIES NAMES osmosdr
|
find_library(LIBOSMOSDR_LIBRARIES NAMES osmosdr
|
||||||
PATHS
|
HINTS ${LIBOSMOSDR_PKG_LIBRARY_DIRS}
|
||||||
${LIBOSMOSDR_PKG_LIBRARY_DIRS}
|
PATHS /usr/lib
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,18 +4,18 @@ if(NOT LIBPERSEUS_FOUND)
|
|||||||
|
|
||||||
find_path(LIBPERSEUS_INCLUDE_DIR
|
find_path(LIBPERSEUS_INCLUDE_DIR
|
||||||
NAMES perseus-sdr.h
|
NAMES perseus-sdr.h
|
||||||
PATHS ${PERSEUS_DIR}/include
|
HINTS ${PERSEUS_DIR}/include
|
||||||
${LIBPERSEUS_PKG_INCLUDE_DIRS}
|
${LIBPERSEUS_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBPERSEUS_LIBRARIES
|
find_library(LIBPERSEUS_LIBRARIES
|
||||||
NAMES perseus-sdr
|
NAMES perseus-sdr
|
||||||
PATHS ${PERSEUS_DIR}/lib
|
HINTS ${PERSEUS_DIR}/lib
|
||||||
${PERSEUS_DIR}/lib64
|
${PERSEUS_DIR}/lib64
|
||||||
${LIBPERSEUS_PKG_LIBRARY_DIRS}
|
${LIBPERSEUS_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,17 +4,17 @@ if(NOT LIBRTLSDR_FOUND)
|
|||||||
|
|
||||||
find_path(LIBRTLSDR_INCLUDE_DIR
|
find_path(LIBRTLSDR_INCLUDE_DIR
|
||||||
NAMES rtl-sdr.h
|
NAMES rtl-sdr.h
|
||||||
PATHS ${RTLSDR_DIR}/include
|
HINTS ${RTLSDR_DIR}/include
|
||||||
${LIBRTLSDR_PKG_INCLUDE_DIRS}
|
${LIBRTLSDR_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBRTLSDR_LIBRARIES
|
find_library(LIBRTLSDR_LIBRARIES
|
||||||
NAMES rtlsdr
|
NAMES rtlsdr
|
||||||
PATHS ${RTLSDR_DIR}/lib
|
HINTS ${RTLSDR_DIR}/lib
|
||||||
${LIBRTLSDR_PKG_LIBRARY_DIRS}
|
${LIBRTLSDR_PKG_LIBRARY_DIRS}
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,18 +4,18 @@ if(NOT LIBXTRX_FOUND)
|
|||||||
|
|
||||||
find_path(LIBXTRX_INCLUDE_DIRS
|
find_path(LIBXTRX_INCLUDE_DIRS
|
||||||
NAMES xtrx_api.h
|
NAMES xtrx_api.h
|
||||||
PATHS ${XTRX_DIR}/include
|
HINTS ${XTRX_DIR}/include
|
||||||
${LIBXTRX_PKG_INCLUDE_DIRS}
|
${LIBXTRX_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBXTRX_LIBRARY
|
find_library(LIBXTRX_LIBRARY
|
||||||
NAMES xtrx
|
NAMES xtrx
|
||||||
HINTS ${CMAKE_INSTALL_PREFIX}/lib
|
HINTS ${XTRX_DIR}/lib
|
||||||
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
PATHS ${XTRX_DIR}/lib
|
PATHS /usr/local/lib
|
||||||
/usr/local/lib
|
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
if (NOT LIMESUITE_INCLUDE_DIR)
|
if (NOT LIMESUITE_INCLUDE_DIR)
|
||||||
find_path (LIMESUITE_INCLUDE_DIR
|
find_path (LIMESUITE_INCLUDE_DIR
|
||||||
NAMES lime/LimeSuite.h
|
NAMES lime/LimeSuite.h
|
||||||
PATHS ${LIMESUITE_DIR}/include
|
HINTS ${LIMESUITE_DIR}/include
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
@ -12,10 +12,10 @@ endif()
|
|||||||
if (NOT LIMESUITE_LIBRARY)
|
if (NOT LIMESUITE_LIBRARY)
|
||||||
find_library (LIMESUITE_LIBRARY
|
find_library (LIMESUITE_LIBRARY
|
||||||
NAMES LimeSuite
|
NAMES LimeSuite
|
||||||
HINTS ${CMAKE_INSTALL_PREFIX}/lib
|
HINTS ${LIMESUITE_DIR}/lib
|
||||||
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
PATHS ${LIMESUITE_DIR}/lib
|
PATHS /usr/local/lib
|
||||||
/usr/local/lib
|
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
find_path(LIBSERIALDV_INCLUDE_DIR
|
find_path(LIBSERIALDV_INCLUDE_DIR
|
||||||
NAMES dvcontroller.h
|
NAMES dvcontroller.h
|
||||||
PATHS ${SERIALDV_DIR}/include/serialdv
|
HINTS ${SERIALDV_DIR}/include/serialdv
|
||||||
/usr/include/serialdv
|
PATHS /usr/include/serialdv
|
||||||
/usr/local/include/serialdv
|
/usr/local/include/serialdv
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ set(LIBSERIAL_NAMES ${LIBSERIAL_NAMES} serialdv libserialdv)
|
|||||||
|
|
||||||
find_library(LIBSERIALDV_LIBRARY
|
find_library(LIBSERIALDV_LIBRARY
|
||||||
NAMES serialdv
|
NAMES serialdv
|
||||||
PATHS ${SERIALDV_DIR}/lib
|
HINTS ${SERIALDV_DIR}/lib
|
||||||
/usr/lib
|
PATHS /usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,20 +15,20 @@ if(NOT SOAPYSDR_FOUND)
|
|||||||
|
|
||||||
find_path (SOAPYSDR_INCLUDE_DIR
|
find_path (SOAPYSDR_INCLUDE_DIR
|
||||||
NAMES SoapySDR/Version.h
|
NAMES SoapySDR/Version.h
|
||||||
PATHS ${SOAPYSDR_DIR}/include
|
HINTS ${SOAPYSDR_DIR}/include
|
||||||
${LIBSOAPYSDR_PKG_INCLUDE_DIRS}
|
${LIBSOAPYSDR_PKG_INCLUDE_DIRS}
|
||||||
/usr/include
|
PATHS /usr/include
|
||||||
/usr/local/include
|
/usr/local/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library (SOAPYSDR_LIBRARY
|
find_library (SOAPYSDR_LIBRARY
|
||||||
NAMES SoapySDR
|
NAMES SoapySDR
|
||||||
HINTS ${CMAKE_INSTALL_PREFIX}/lib
|
HINTS ${SOAPYSDR_DIR}/lib
|
||||||
${CMAKE_INSTALL_PREFIX}/lib64
|
|
||||||
PATHS ${SOAPYSDR_DIR}/lib
|
|
||||||
${SOAPYSDR_DIR}/lib64
|
${SOAPYSDR_DIR}/lib64
|
||||||
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
${LIBSOAPYSDR_PKG_LIBRARY_DIRS}
|
${LIBSOAPYSDR_PKG_LIBRARY_DIRS}
|
||||||
/usr/local/lib
|
PATHS /usr/local/lib
|
||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib64
|
/usr/lib64
|
||||||
|
Loading…
Reference in New Issue
Block a user