1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 16:01:14 -05:00

Merge pull request #500 from AlexandreFournier/master

Fixing CMake PkgConfig for the BladeRF Module
This commit is contained in:
f4exb 2020-04-05 10:18:07 +02:00 committed by GitHub
commit 6704f78a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
if(NOT LIBBLADERF_FOUND)
pkg_check_modules (LIBBLADERF_PKG libbladerf>=2.0)
pkg_check_modules (LIBBLADERF_PKG libbladeRF>=2.0)
if(LIBBLADERF_PKG_FOUND OR (DEFINED BLADERF_DIR))
find_path(LIBBLADERF_INCLUDE_DIRS
@ -16,7 +16,9 @@ if(NOT LIBBLADERF_FOUND)
HINTS ${BLADERF_DIR}/lib
${LIBBLADERF_PKG_LIBRARY_DIRS}
PATHS /usr/lib
/usr/lib64
/usr/local/lib
/usr/local/lib64
)
if(LIBBLADERF_INCLUDE_DIRS AND LIBBLADERF_LIBRARIES)