Skip to content

Commit

Permalink
update FindHackRF to work under Linux homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeryan committed Jun 1, 2023
1 parent a598947 commit 2a5fa1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/Modules/FindHackRF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -40,4 +41,4 @@ GET_FILENAME_COMPONENT (NATIVE_HACKRF_LIB_PATH ${HACKRF_LIBRARY} PATH)
MARK_AS_ADVANCED(
HACKRF_LIBRARY
HACKRF_INCLUDE_DIR
)
)

0 comments on commit 2a5fa1b

Please sign in to comment.