package/libiio: fix compile without thread support
authorPeter Seiderer <ps.report@gmx.net>
Thu, 16 Sep 2021 17:37:03 +0000 (19:37 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 18 Sep 2021 12:23:01 +0000 (14:23 +0200)
commite851eb6c7a1d91ca3a3b929417fd0f1677fbc870
treee17de073a35a913c528689dae0b1feede1fbca52
parent93cbbb2ce8b1e196e7a22fd43a31fe8c932b9605
package/libiio: fix compile without thread support

- fix compile without thread support (add configure option
  '-DNO_THREADS=ON' as requested)

Fixes:

  - http://autobuild.buildroot.net/results/2cca5952e7d677cd0d5fa97aa1a7bf3e722df3a2

  CMake Error at CMakeLists.txt:409 (message):
    Unable to find pthread dependency.

    If you want to disable multi-threading support, set NO_THREADS=ON.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libiio/libiio.mk