Skip to content
Commit 144a08c5 authored by Patryk Duda's avatar Patryk Duda Committed by Carles Cufí
Browse files

cmake: modules: Introduce FindThreads module



Some third-party modules uses 'find_package(Threads REQUIRED)' to check
if threads implementation is supported.

The original implementation tries to find threads library using various
methods (e.g. checking if pthread library is present or compiling
example program to check if the implementation is provided by libc), but
it's not able to detect pthread implementation provided by Zephyr.

Signed-off-by: default avatarPatryk Duda <patrykd@google.com>
parent acd14f8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment