mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
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:
@ -5,7 +5,7 @@ if (OPENZWAVE_FOUND)
|
||||
set (module_hpp ${libname}.hpp ozwinterface.hpp ozwdump.hpp aeotecss6.hpp aeotecsdg2.hpp aeotecdw2e.hpp aeotecdsb09104.hpp tzemt400.hpp)
|
||||
|
||||
set (reqlibname "libopenzwave")
|
||||
upm_module_init(${OPENZWAVE_LIBRARIES})
|
||||
upm_module_init(${OPENZWAVE_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_include_directories(${libname} PUBLIC ${OPENZWAVE_INCLUDE_DIRS})
|
||||
|
||||
# openzwave/aes/aes.h has unknown pragmas, disable warning -Wunknown-pragmas
|
||||
|
Reference in New Issue
Block a user