Threading: Scrubbed usage of threading in libraries

Removed include for pthreads from libraries where it appears NOT to be
used.  Added ${CMAKE_THREAD_LIBS_INIT} to CMakeLists.txt for libraries
which appear to require threading.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2018-01-22 14:39:46 -08:00
parent 7422ec937c
commit f97a62b055
8 changed files with 5 additions and 8 deletions

View File

@ -2,4 +2,4 @@ set (libname "sx1276")
set (libdescription "SZ1276 LoRa/FSK/OOK Radio")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init(mraa)
upm_module_init(mraa ${CMAKE_THREAD_LIBS_INIT})