opensuse tumbleweed:
...
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/d3f4ult/bin/catalyst/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_fbb88/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_fbb88.dir/build.make CMakeFiles/cmTC_fbb88.dir/build
gmake[1]: Entering directory "/home/d3f4ult/bin/catalyst/build/CMakeFiles/CMakeTmp"
Building C object CMakeFiles/cmTC_fbb88.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_fbb88.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_fbb88
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbb88.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_fbb88.dir/CheckFunctionExists.c.o -o cmTC_fbb88 -lpthreads
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_fbb88.dir/build.make:87: cmTC_fbb88] Error 1
gmake[1]: Leavind directory "/home/d3f4ult/bin/catalyst/build/CMakeFiles/CMakeTmp"
gmake: *** [Makefile:121: cmTC_fbb88/fast] Error 2