File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -83,23 +83,14 @@ install(
8383 REGEX ".*Eigen.*"
8484)
8585install (
86- FILES "${CMAKE_CURRENT_BINARY_DIR} /tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so "
86+ DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /tensorflow/bazel-bin/tensorflow/"
8787 DESTINATION lib
88- RENAME libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}
89- OPTIONAL
88+ FILES_MATCHING PATTERN "libtensorflow_cc.so*"
9089)
9190install (
92- FILES "${CMAKE_CURRENT_BINARY_DIR} /tensorflow/bazel-bin/bin/tensorflow/libtensorflow_cc.so "
91+ DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /tensorflow/bazel-bin/bin/tensorflow/"
9392 DESTINATION lib
94- RENAME libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}
95- OPTIONAL
96- )
97- # Make versioned symlinks to the library
98- install (CODE "execute_process( \
99- COMMAND ${CMAKE_COMMAND} -E create_symlink \
100- libtensorflow_cc.so.${PROJECT_VERSION_MAJOR} \
101- ${CMAKE_INSTALL_PREFIX} /lib/libtensorflow_cc.so \
102- )"
93+ FILES_MATCHING PATTERN "libtensorflow_cc.so*"
10394)
10495
10596# --------------------------
You can’t perform that action at this time.
0 commit comments