Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
idealvin committed Aug 12, 2021
1 parent 55796d9 commit 82b9f75
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
14 changes: 11 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```


Expand Down
9 changes: 8 additions & 1 deletion readme_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -491,6 +491,13 @@ make -j8
```


#### 从 vcpkg 安装 libco

```sh
vcpkg install co:x64-windows
```




## License
Expand Down

0 comments on commit 82b9f75

Please sign in to comment.