<div dir="ltr"><div><div><div><div><div>Hello,<br></div>I have a cmake project that uses C++11 threads.<br></div>I have added the lines <br><br></div>set (CMAKE_CXX_STANDARD 14)<br></div>set(CMAKE_CXX_STANDARD_REQUIRED ON)<br><br><br></div><div>CMAKE version is 3.2.2, running on Ubuntu.<br><br></div><div>When I try to build, I get the error<br><br></div><div>undefined reference to `pthread_create`<br><br></div><div>Any ideas on how to fix this?<br><br></div><div>Thanks!<br></div><div>Aaron<br></div></div>