Skip to content

Commit 0ac144b

Browse files
committed
Revert Utils.cmake change
1 parent 54ea077 commit 0ac144b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cmake/Utils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function(get_torch_base_path outVar)
121121
execute_process(
122122
COMMAND
123123
"${PYTHON_EXECUTABLE}" -c
124-
"\"import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])\""
124+
"import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])"
125125
OUTPUT_VARIABLE _tmp_torch_path
126126
ERROR_VARIABLE _tmp_torch_path_error
127127
RESULT_VARIABLE _tmp_torch_path_result COMMAND_ECHO STDERR

0 commit comments

Comments
 (0)