Skip to content

Commit

Permalink
chore: Use which
Browse files Browse the repository at this point in the history
  • Loading branch information
joda01 committed Jan 26, 2025
1 parent 8e3ad18 commit c70a11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/libtorch/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def build(self):
self._regenerate_flatbuffers()
cmake = CMake(self)
if self.is_windows:
cmake.configure(args=[f"-DPYTHON_EXECUTABLE={tools.which('python')}"])
cmake.configure(args=[f"-DPYTHON_EXECUTABLE={which('python')}"])
else:
cmake.configure()

Expand Down

0 comments on commit c70a11b

Please sign in to comment.