Skip to content

Commit

Permalink
temporary hack: Force cmake to point to a locally built libiio v1.0
Browse files Browse the repository at this point in the history
This is for the purpose of easily starting to use libiio 1.0 and the entire commit can be removed once the porting is finished.

Signed-off-by: Dan <[email protected]>
  • Loading branch information
dNechita committed May 16, 2024
1 parent 62fd972 commit af01f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ pkg_check_modules(LIBCURL REQUIRED libcurl)
pkg_check_modules(JANSSON REQUIRED jansson)
pkg_check_modules(MATIO REQUIRED matio)

find_library(LIBIIO_LIBRARIES iio)
find_path(LIBIIO_INCLUDE_DIRS iio.h)
find_library(LIBIIO_LIBRARIES iio HINTS /home/dan/repos/github/libiio/build_v1_0/install/lib)
find_path(LIBIIO_INCLUDE_DIRS iio.h HINTS /home/dan/repos/github/libiio/build_v1_0/install/include/iio)

find_library(LIBAD9361_LIBRARIES ad9361)
find_path(LIBAD9361_INCLUDE_DIRS ad9361.h)
Expand Down

0 comments on commit af01f2f

Please sign in to comment.