diff --git a/setup.py b/setup.py index b82bdf4..bc4f363 100755 --- a/setup.py +++ b/setup.py @@ -272,7 +272,7 @@ def set_cmake_user_options(self) -> list[str]: if conda_prefix is not None: result.append('-DCMAKE_PREFIX_PATH=' + conda_prefix) - elif conda_prefix and self.mkl: + if self.mkl: self.set_conda_mklroot() return result