--- setup.py.orig 2021-12-27 23:56:37.000000000 -0500 +++ setup.py 2021-12-27 23:58:19.000000000 -0500 @@ -301,8 +301,10 @@ ("PYMOL_OPENMP", None), ] if MAC: - ext_comp_args += ["-Xpreprocessor", "-fopenmp"] + ext_comp_args += ["-Xpreprocessor", "-fopenmp", "-fopenmp-version=40"] + inc_dirs += ['@PREFIX@/include/libomp'] libs += ["omp"] + ext_link_args += ["-L@PREFIX@/lib/libomp"] elif WIN: ext_comp_args += ["/openmp"] else: