Detection of number of processors fails
When building with openmp enabled and against an openmp enabled opencv library the opencv initialization code is executed first. This actually sets up openmp for its own use, which interferes with the detection of the number of processors by making omp_get_num_procs() always return 1.
This patch fixes the issue by getting the number of processors directly from the OS.
https://gitlab.com/domokos1/siril/tree/fix_num_proc_detection
I tried to create a merge request but failed to do so.
Edited by Domokos Molnár