Commit Graph

2 Commits (f4e3ee4e3a034314dd987e21ef3a35dfd0e58a6f)

Author SHA1 Message Date
Michael Forney 8856099092 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
6 years ago
Connor McLaughlin 9da4e642af CMake: Include SDL2 module in-tree 7 years ago