diff --git a/CHANGELOG.md b/CHANGELOG.md index e58e1202..7bca384b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed some typos (thanks to @eltociear, @Darkdragon84) - Fixed support for Python 3.12 +- Fixed check for OpenMP so it works on MacOS systems without Homebrew ### Removed diff --git a/setup.py b/setup.py index 24a647bd..3cc138a0 100755 --- a/setup.py +++ b/setup.py @@ -505,7 +505,7 @@ def _configure_openmp(self): self.opts.append(flag) self.link_opts.extend((l_arg, flag)) return - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, OSError): pass try: