Skip to content

Commit

Permalink
set to the interface library
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Nov 13, 2024
1 parent 5d4b54d commit c7e5e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cmake/FindTensorFlowC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

if(TARGET TensorFlow::tensorflow_cc)
# since tensorflow_cc contain tensorflow_c, just use it
add_library(TensorFlow::tensorflow_c SHARED IMPORTED GLOBAL)
add_library(TensorFlow::tensorflow_c INTERFACE)
target_link_libraries(TensorFlow::tensorflow_c
INTERFACE TensorFlow::tensorflow_cc)
set(TensorFlowC_FOUND TRUE)
Expand Down

0 comments on commit c7e5e9a

Please sign in to comment.