diff --git a/readme.md b/readme.md index bf7a93b85..60ba17215 100644 --- a/readme.md +++ b/readme.md @@ -479,17 +479,25 @@ make -j8 ```sh mkdir build && cd build -cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=pkg +cmake .. -DBUILD_ALL=ON make -j8 -make install ``` + #### Build with libcurl & openssl (openssl 1.1.0 or above required) ```sh mkdir build && cd build -cmake .. -DBUILD_ALL=ON -DWITH_LIBCURL=ON +cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local make -j8 +make install +``` + + +#### install libco from vcpkg + +```sh +vcpkg install co:x64-windows ``` diff --git a/readme_cn.md b/readme_cn.md index 2ee0c6a8e..1ebc1d852 100644 --- a/readme_cn.md +++ b/readme_cn.md @@ -476,7 +476,7 @@ make -j8 ```sh mkdir build && cd build -cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=pkg +cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local make -j8 make install ``` @@ -491,6 +491,13 @@ make -j8 ``` +#### 从 vcpkg 安装 libco + +```sh +vcpkg install co:x64-windows +``` + + ## License