ComputationalBiomechanicsLab/opensim-creator
third_party/SDL/cmake/sdlchecks.cmake
:892
check_c_source_compiles("
#include <pthread.h>
#include <semaphore.h>
int main(int argc, char **argv) {
sem_timedwait(NULL, NULL);
return 0;
}" COMPILER_HAS_SEM_TIMEDWAIT)