Determining if the pthread_create exist failed with the following output:
Change Dir: /home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e342f/fast"
/usr/bin/make -f CMakeFiles/cmTC_e342f.dir/build.make CMakeFiles/cmTC_e342f.dir/build
make[1]: se entra en el directorio '/home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e342f.dir/CheckSymbolExists.c.o
/usr/bin/cc     -o CMakeFiles/cmTC_e342f.dir/CheckSymbolExists.c.o   -c /home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_e342f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e342f.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_e342f.dir/CheckSymbolExists.c.o  -o cmTC_e342f -rdynamic 
CMakeFiles/cmTC_e342f.dir/CheckSymbolExists.c.o: En la función `main':
CheckSymbolExists.c:(.text+0x16): referencia a `pthread_create' sin definir
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e342f.dir/build.make:97: fallo en las instrucciones para el objetivo 'cmTC_e342f'
make[1]: *** [cmTC_e342f] Error 1
make[1]: se sale del directorio '/home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp'
Makefile:126: fallo en las instrucciones para el objetivo 'cmTC_e342f/fast'
make: *** [cmTC_e342f/fast] Error 2

File /home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3f8c8/fast"
/usr/bin/make -f CMakeFiles/cmTC_3f8c8.dir/build.make CMakeFiles/cmTC_3f8c8.dir/build
make[1]: se entra en el directorio '/home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3f8c8.dir/CheckFunctionExists.c.o
/usr/bin/cc    -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_3f8c8.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_3f8c8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f8c8.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_3f8c8.dir/CheckFunctionExists.c.o  -o cmTC_3f8c8 -rdynamic -lpthreads 
/usr/bin/ld: no se puede encontrar -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3f8c8.dir/build.make:97: fallo en las instrucciones para el objetivo 'cmTC_3f8c8'
make[1]: *** [cmTC_3f8c8] Error 1
make[1]: se sale del directorio '/home/mrmelkix/Robot/build/CMakeFiles/CMakeTmp'
Makefile:126: fallo en las instrucciones para el objetivo 'cmTC_3f8c8/fast'
make: *** [cmTC_3f8c8/fast] Error 2


