Skip to content

Commit

Permalink
fix instructions for CMake integration
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher authored Oct 24, 2022
1 parent 08ac1f2 commit f2d57c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ find_package(TensorFlow REQUIRED)
# ...
add_executable(foo ...) # / add_library(foo ...)
# ...
include_directories(foo ${TensorFlow_INCLUDE_DIRS})
target_link_libraries(foo ${TensorFlow_LIBRARIES})
target_include_directories(foo PRIVATE ${TensorFlow_INCLUDE_DIRS})
target_link_libraries(foo PRIVATE ${TensorFlow_LIBRARIES})
```


Expand Down

0 comments on commit f2d57c2

Please sign in to comment.