Skip to content

Commit

Permalink
CMake: Use libini from deps/ folder
Browse files Browse the repository at this point in the history
Use the version of libini properly cloned with "git subrepo" into the
deps/ folder, instead of having a local copy.

Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei committed Mar 21, 2022
1 parent 219714a commit 20948cc
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 850 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ if(WITH_LOCAL_BACKEND)

option(WITH_LOCAL_CONFIG "Read local context attributes from /etc/libiio.ini" ON)
if (WITH_LOCAL_CONFIG)
list(APPEND LIBIIO_CFILES ./libini/libini.c)
list(APPEND LIBIIO_CFILES ./deps/libini/libini.c)
endif()

option(WITH_LOCAL_MMAP_API "Use the mmap API provided in Analog Devices' kernel (not upstream)" ON)
Expand Down
502 changes: 0 additions & 502 deletions libini/LICENSE.txt

This file was deleted.

3 changes: 0 additions & 3 deletions libini/README

This file was deleted.

91 changes: 0 additions & 91 deletions libini/ini.h

This file was deleted.

252 changes: 0 additions & 252 deletions libini/libini.c

This file was deleted.

2 changes: 1 addition & 1 deletion local.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "debug.h"
#include "iio-private.h"
#include "sort.h"
#include "libini/ini.h"
#include "deps/libini/ini.h"


#include <dirent.h>
Expand Down

0 comments on commit 20948cc

Please sign in to comment.