Skip to content

Commit 2641ccb

Browse files
committed
Print PYTHON_EXECUTABLE
1 parent 00ec82f commit 2641ccb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ed_sensor_integration/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ add_compile_options(-Wall -Werror=all)
55
add_compile_options(-Wextra -Werror=extra)
66

77
find_package (Python COMPONENTS Interpreter REQUIRED)
8+
message(WARNING "PYTHON_EXECUTABLE: ${PYTHON_EXECUTABLE}")
89
execute_process(
910
COMMAND ${Python_EXECUTABLE} -c "import torch; from sys import stderr; print(torch.__path__[0]); print(f'{torch.__path__[0]}=', file=stderr)"
1011
OUTPUT_VARIABLE TORCH_LIBRARY_PATH

0 commit comments

Comments
 (0)