CheckIncludeFile.c
is CMake’s CHECK_INCLUDE_FILE
, which looks like it’s internally used by find_package(Threads)
to detect if pthreads is supported. You can see it running, failing, and then detecting a valid (win32) threads implementation instead.
This would make it seem to me like it wouldn’t be your actual issue.
This line has hits on google that seem to all point to a variety of issues across various versions of Visual Studio. I’d probably suggest starting from there?