Build directory not on include path after FindTensorflow.cmake #51
Labels
contribution welcome
something I haven't figured out yet what the best solution is.
currently not supported
This is outside the scope of this project.
Environment
Issue
Build directory not on include path after FindTensorflow.cmake
Context:
Just trying to include image_ops.h
Reproduce:
I followed the directions to copy the output of bazel-genfiles into ${TENSORFLOW_BUILD_DIR} as described here https://github.com/PatWie/tensorflow-cmake#inference
Output
The example inference file builds fine for me, but when trying to expand it by including image_ops I get the following error
fatal error: tensorflow/cc/ops/image_ops.h: No such file or directory #include "tensorflow/cc/ops/image_ops.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
Expectation
Big beautiful green letters saying compile completed with 0 errors
Investigation
Fixed it by adding
in FindTensorFlow.cmake.
The text was updated successfully, but these errors were encountered: