From 6740ac42c82c1709d38d28f040367c609304bd6a Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 14 Apr 2018 18:16:38 +0200 Subject: [PATCH] Fix detection of libiio-dev package --- cmake/Modules/Findlibiio.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/Findlibiio.cmake b/cmake/Modules/Findlibiio.cmake index c3fa42366..334dcf8d7 100644 --- a/cmake/Modules/Findlibiio.cmake +++ b/cmake/Modules/Findlibiio.cmake @@ -3,7 +3,7 @@ PKG_CHECK_MODULES(PC_LIBIIO libiio) FIND_PATH( LIBIIO_INCLUDE_DIRS - NAMES gnuradio/iio/api.h + NAMES iio.h HINTS $ENV{LIBIIO_DIR}/include ${PC_LIBIIO_INCLUDEDIR} PATHS ${CMAKE_INSTALL_PREFIX}/include