cmake编译报错,
报错了 cmake 无法打开包括文件: “pthread.h”?
解决方法:
pchread 官网下载代码:
POSIX Threads for Windows download | SourceForge.net
CMakeLists 中添加了pthread的头文件目录:
include_directories("C:/Users/Administrator/Pictures/liushishi/pthreads4w-code-v3.0.0/pthreads4w")
?