diff --git a/README-CN.md b/README-CN.md index c1cda1e0..80128bf0 100644 --- a/README-CN.md +++ b/README-CN.md @@ -63,8 +63,9 @@ Neuron的层次结构图如下图所示: ### 编译 ```shell -$ git clone -- recursive https://github.com/emqx/neuron +$ git clone 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 c02d8681..27701423 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,9 @@ The hierarchical layer diagram of Neuron is shown in the figure below: ## Build ```shell -$ git clone -- recursive https://github.com/emqx/neuron +$ git clone https://github.com/emqx/neuron $ cd neuron +$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ```