Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Fix threads detection on libc with built-in support
As noted in the FindThreads documentation[0], CMAKE_THREAD_LIBS_INIT may be empty if no special flags are needed to use thread support. Instead, use Threads_FOUND to determine if threads are supported. [0] https://cmake.org/cmake/help/latest/module/FindThreads.html
- Loading branch information