serge@serge:~/Downloads/polydecomp-bayazit$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/serge/Downloads/polydecomp-bayazit
serge@serge:~/Downloads/polydecomp-bayazit$ make
Linking CXX executable conv
/usr/bin/ld: /usr/local/lib/libglfw.a(x11_init.o): undefined reference to symbol 'pthread_kill@@GLIBC_2.0'
/usr/bin/ld: note: 'pthread_kill@@GLIBC_2.0' is defined in DSO /lib/i386-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/i386-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [conv] Error 1
make[1]: *** [CMakeFiles/conv.dir/all] Error 2
make: *** [all] Error 2
Не могу разобраться как решить эту проблему. Нагуглил только совет в CMakeLists.txt дописать SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-L/usr/lib/i386-linux-gnu/lpthread") но это не помогло, в консоли все то же.