提交 4b7b99be 编写于 作者: L liuyuan04

delete option for building doc_cn, all docs controlled by WITH_DOC

ISSUE=4587443


git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1412 1ad973e4-5ce8-4261-8a94-b56d1f490c56
上级 3ca3620c
......@@ -36,7 +36,6 @@ option(WITH_GFLAGS "Compile PaddlePaddle use gflags, otherwise use a flag implem
option(WITH_TIMER "Compile PaddlePaddle use timer" OFF)
option(WITH_TESTING "Compile and run unittest for PaddlePaddle" ${GTEST_FOUND})
option(WITH_DOC "Compile PaddlePaddle with documentation" OFF)
option(WITH_DOC_CN "Compile PaddlePaddle with Chinese documentation" OFF)
option(WITH_SWIG_PY "Compile PaddlePaddle with py PaddlePaddle predict api" ${SWIG_FOUND})
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
......@@ -150,7 +149,5 @@ add_subdirectory(paddle)
add_subdirectory(python)
if(WITH_DOC)
add_subdirectory(doc)
endif()
if(WITH_DOC_CN)
add_subdirectory(doc_cn)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册