Skip to content

Commit

Permalink
[CMake] Add tf_cc_while_loop to the list of objects in tf_shared_lib.…
Browse files Browse the repository at this point in the history
…cmake.

This addresses an unknown external symbol error when attempting to link the
shared library.

Partially addresses #13448.

PiperOrigin-RevId: 170899880
  • Loading branch information
mrry authored and tensorflower-gardener committed Oct 3, 2017
1 parent 6dffc30 commit ce24e65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/tf_shared_lib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if(WIN32)
$<TARGET_OBJECTS:tf_cc>
$<TARGET_OBJECTS:tf_cc_framework>
$<TARGET_OBJECTS:tf_cc_ops>
$<TARGET_OBJECTS:tf_cc_while_loop>
$<TARGET_OBJECTS:tf_core_lib>
$<TARGET_OBJECTS:tf_core_cpu>
$<TARGET_OBJECTS:tf_core_framework>
Expand Down Expand Up @@ -63,6 +64,7 @@ add_library(tensorflow SHARED
$<TARGET_OBJECTS:tf_cc>
$<TARGET_OBJECTS:tf_cc_framework>
$<TARGET_OBJECTS:tf_cc_ops>
$<TARGET_OBJECTS:tf_cc_while_loop>
$<TARGET_OBJECTS:tf_core_lib>
$<TARGET_OBJECTS:tf_core_cpu>
$<TARGET_OBJECTS:tf_core_framework>
Expand Down

0 comments on commit ce24e65

Please sign in to comment.