Skip to content

Commit 45dfc34

Browse files
committed
Merge branch 'print_operators_doc' of https://github.com/luotao1/Paddle into luotao1-print_operators_doc
2 parents 9b761ed + 4c95301 commit 45dfc34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

paddle/pybind/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ if(WITH_PYTHON)
55
${GLOB_OP_LIB})
66
endif(WITH_PYTHON)
77

8-
cc_binary(print_operators_doc SRCS print_operators_doc.cc DEPS ${GLOB_OP_LIB})
8+
if(WITH_DOC)
9+
cc_binary(print_operators_doc SRCS print_operators_doc.cc DEPS ${GLOB_OP_LIB})
10+
endif(WITH_DOC)

0 commit comments

Comments
 (0)