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
avx_docs
liuyuan04 9 years ago
parent 3ca3620c88
commit 4b7b99be9f

@ -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()

Loading…
Cancel
Save