From 2a5fa1bfdd5344769104e2ee4422b534eb340776 Mon Sep 17 00:00:00 2001 From: Mike Ryan Date: Thu, 1 Jun 2023 16:25:06 -0700 Subject: [PATCH] update FindHackRF to work under Linux homebrew --- cmake/Modules/FindHackRF.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/FindHackRF.cmake b/cmake/Modules/FindHackRF.cmake index cebbcdf..b9ea7c9 100644 --- a/cmake/Modules/FindHackRF.cmake +++ b/cmake/Modules/FindHackRF.cmake @@ -11,6 +11,7 @@ FIND_PATH(HACKRF_INCLUDE_DIR hackrf.h ${HACKRF_DIR}/include/libhackrf /opt/homebrew/include/libhackrf /opt/local/include/libhackrf + /home/linuxbrew/.linuxbrew/include/libhackrf /usr/include/libhackrf /usr/local/include/libhackrf ) @@ -40,4 +41,4 @@ GET_FILENAME_COMPONENT (NATIVE_HACKRF_LIB_PATH ${HACKRF_LIBRARY} PATH) MARK_AS_ADVANCED( HACKRF_LIBRARY HACKRF_INCLUDE_DIR -) \ No newline at end of file +)