diff --git a/setup.py b/setup.py index 111ede9e5567..40f8ae9645bf 100644 --- a/setup.py +++ b/setup.py @@ -159,7 +159,7 @@ def build_extension(self, ext): os.makedirs(self.build_temp) subprocess.check_call( - ["cmake", str(os.path.join(ROOT_DIR, "pyvelox"))] + cmake_args, + ["cmake", str(ROOT_DIR)] + cmake_args, cwd=self.build_temp, ) subprocess.check_call(