[cmake] add OT_DOC option (#6527)

This commit is contained in:
Yakun Xu
2021-04-29 22:49:10 +08:00
committed by GitHub
parent f4b188d79d
commit bf422ee8b3
3 changed files with 62 additions and 0 deletions
+4
View File
@@ -201,6 +201,10 @@ elseif(OT_PLATFORM)
add_subdirectory(examples)
endif()
if (OT_DOC)
add_subdirectory(doc)
endif()
add_subdirectory(src)
add_subdirectory(third_party EXCLUDE_FROM_ALL)