CMake: Find Tensorflow not working
dvicini opened this issue · 2 comments
dvicini commented
Hi,
it seems that a recent commit broke the FindTensorflow.cmake
script. In Line 56 in FindTensorflow.cmake
, the Python executable is declared as an option
. However, from my understanding, options are boolean variables. When I insert a print statement, i.e. message(FATAL_ERROR "${PYTHON_EXECUTABLE}")
, I just get OFF
as an output, instead of python3
. I am not a CMake expert, but wouldn't it be more appropriate to just set a variable, instead of using option
?
Delio