Skip to content

Commit 4c95301

Browse files
committed
add WITH_DOC for print_operators_doc
1 parent 1238706 commit 4c95301

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)