cmake and libpthread May 23, 2022 by IT Nursery I’m running RHEL 5.1 and use gcc. How I tell cmake to add -pthread to compilation and linking? 4 Answers 4