cmake: detect OpenMP support and automatically enable when available
cmake: detect OpenMP support and automatically enable when available

Can be overridden at configure time by passing -DENABLE_OPENMP=off.

catid/leopard,catid/leopard