编译报错Could NoT find Threads (missing: Threads FOUND)

解决方法1:

原来的命令行加上-lpthread

解决方法2:

-DCMAKE_THREAD_LIBS_INIT=-lpthread

 

posted @ 2022-11-26 12:57  bk街头狂舞  阅读(1724)  评论(0)    收藏  举报