Fixes OpenMP cmake helper (removed caching, proper thread flags).
Fixes OpenMP cmake helper (removed caching, proper thread flags).

mpicbg-scicomp/gearshifft,tdd11235813/gearshifft,mpicbg-scicomp/gearshifft,tdd11235813/gearshifft