I think using/not using OpenMP::OpenMP_CXX
should be enough. It comes with the -fopenmp
flag attached to its use already, so you shouldn’t need to do anything with the flag (additionally, its spelling can change based on the compiler in use; the target already accounts for that).
1 Like