diff --git a/README-CN.md b/README-CN.md index 8b9888bd..9099176b 100644 --- a/README-CN.md +++ b/README-CN.md @@ -63,9 +63,8 @@ Neuron的层次结构图如下图所示: ### 编译 ```shell -$ git clone https://github.com/emqx/neuron +$ git clone -- recursive https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ``` diff --git a/README.md b/README.md index 27a8d0c8..85ef9562 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,8 @@ The hierarchical layer diagram of Neuron is shown in the figure below: ## Build ```shell -$ git clone https://github.com/emqx/neuron +$ git clone -- recursive https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ```