georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
842 stars 108 forks source link

CMake pc file - libgomp requires pthreads for static linking #56

Closed tonytheodore closed 6 years ago

tonytheodore commented 6 years ago

Libgomp uses pthreads internally and it's usually sufficient to to specify -fopenmp in CFLAGS to pick up the required libs. Some configure scripts (e.g. ffmpeg) don't pass these through from pkg-config and only use --libs, so setting it here is necessary for static builds.