From 32408ef80d794f5ba540745824d0c5277730b375 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 18 Jun 2019 09:22:56 +0200 Subject: [PATCH] Use pkgconfig info --- cmake/Modules/FindLIBOSMOSDR.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Modules/FindLIBOSMOSDR.cmake b/cmake/Modules/FindLIBOSMOSDR.cmake index 7534f4a00..5db152d21 100644 --- a/cmake/Modules/FindLIBOSMOSDR.cmake +++ b/cmake/Modules/FindLIBOSMOSDR.cmake @@ -42,6 +42,7 @@ find_path(LIBOSMOSDR_INCLUDE_DIR NAMES osmosdr.h /usr/local/include ${LIBOSMOSDR_ROOT}/include $ENV{LIBOSMOSDR_ROOT}/include + ${LIBOSMOSDR_PKG_INCLUDEDIR} ) find_library(LIBOSMOSDR_LIBRARIES NAMES osmosdr @@ -77,6 +78,7 @@ find_library(LIBOSMOSDR_LIBRARIES NAMES osmosdr $ENV{LIBOSMOSDR_ROOT}/lib ${LIBOSMOSDR_ROOT}/lib64 $ENV{LIBOSMOSDR_ROOT}/lib64 + ${LIBOSMOSDR_PKG_LIBDIR} ) include(FindPackageHandleStandardArgs)