我正在跑步RHEL 5.1和使用gcc.
RHEL 5.1
gcc
我如何告诉cmake添加-pthread到编译和链接?
cmake
-pthread
pthreads cmake
cmake ×1
pthreads ×1