Skip to content

Commit 2c82ba6

Browse files
committed
cmake
1 parent be29669 commit 2c82ba6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/CMakeLists.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ include_directories(
99
${PROJECT_SOURCE_DIR}/include)
1010

1111
link_directories(
12-
${PROJECT_SOURCE_DIR}/../tensorflow/tensorflow/contrib/makefile/gen/lib)
12+
${PROJECT_SOURCE_DIR}/../tensorflow/tensorflow/contrib/makefile/gen/lib
13+
${PROJECT_SOURCE_DIR}/../tensorflow/tensorflow/contrib/makefile/gen/protobuf-host/lib
14+
${PROJECT_SOURCE_DIR}/../tensorflow/tensorflow/contrib/makefile/downloads/nsync/builds/default.macos.c++11)
1315

1416
set(DEEP_CTR_LINKER_LIBS "")
15-
list(APPEND DEEP_CTR_LINKER_LIBS libtensorflow-core.a pthread m z)
17+
list(APPEND DEEP_CTR_LINKER_LIBS libtensorflow-core.a libprotobuf.a nsync.a pthread m z)
1618

1719
# executable
1820
set(SIMPLE_MODEL "simple_model.bin")

0 commit comments

Comments
 (0)