Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/markus/Projekte/Konsole/hello_cmake/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory `/home/markus/Projekte/Konsole/hello_cmake/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/markus/Projekte/Konsole/hello_cmake/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o /usr/bin/gcc -I/home/markus/include -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.6/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/gcc -I/home/markus/include -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -o cmTryCompileExec -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status make[1]: Leaving directory `/home/markus/Projekte/Konsole/hello_cmake/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec] Fehler 1 make: *** [cmTryCompileExec/fast] Fehler 2