Skip to content

Commit

Permalink
Install the tensorflow.dll file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gvne committed Jun 5, 2020
1 parent cb36570 commit 34ab0fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/add_tensorflow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ else()
INSTALL(FILES ${tensorflow_lib} DESTINATION lib)
endif()

# Also install the dll on windows
if (MSVC)
install(FILES ${tensorflow_dir}/lib/tensorflow.dll DESTINATION lib)
endif()

# And tensorflow framework
if (NOT MSVC)
if(IS_SYMLINK ${tensorflow_framework_lib})
Expand Down

0 comments on commit 34ab0fe

Please sign in to comment.