Skip to content

Commit 82b9f75

Browse files
committed
update readme
1 parent 55796d9 commit 82b9f75

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

readme.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,17 +479,25 @@ make -j8
479479

480480
```sh
481481
mkdir build && cd build
482-
cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=pkg
482+
cmake .. -DBUILD_ALL=ON
483483
make -j8
484-
make install
485484
```
486485

486+
487487
#### Build with libcurl & openssl (openssl 1.1.0 or above required)
488488

489489
```sh
490490
mkdir build && cd build
491-
cmake .. -DBUILD_ALL=ON -DWITH_LIBCURL=ON
491+
cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local
492492
make -j8
493+
make install
494+
```
495+
496+
497+
#### install libco from vcpkg
498+
499+
```sh
500+
vcpkg install co:x64-windows
493501
```
494502

495503

readme_cn.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ make -j8
476476

477477
```sh
478478
mkdir build && cd build
479-
cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=pkg
479+
cmake .. -DBUILD_ALL=ON -DCMAKE_INSTALL_PREFIX=/usr/local
480480
make -j8
481481
make install
482482
```
@@ -491,6 +491,13 @@ make -j8
491491
```
492492

493493

494+
#### 从 vcpkg 安装 libco
495+
496+
```sh
497+
vcpkg install co:x64-windows
498+
```
499+
500+
494501

495502

496503
## License

0 commit comments

Comments
 (0)