mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
Correct parameter reference (#10472)
- Change references to --overlay-ports to --overlay-triplets
This commit is contained in:
parent
056e9517ec
commit
a5a244f5bd
@ -71,7 +71,7 @@ When using the `--overlay-triplets` option, a message like the following lets yo
|
||||
|
||||
As you may have noticed, the default triplets for Windows (`x86-windows` and `x64-windows`) install dynamic libraries, while a suffix (`-static`) is needed for static libraries. This is different with Linux and Mac OS where static libraries are built by `x64-linux` and `x64-osx`.
|
||||
|
||||
Using `--overlay-ports` it is possible to override the default triplets to accomplish the same behavior on Linux:
|
||||
Using `--overlay-triplets` it is possible to override the default triplets to accomplish the same behavior on Linux:
|
||||
|
||||
* `x64-linux`: Builds dynamic libraries,
|
||||
* `x64-linux-static`: Builds static libraries.
|
||||
@ -85,7 +85,7 @@ Using the custom triplet created in the previous example, rename `custom-triplet
|
||||
~/git$ cp vcpkg/triplets/x64-linux.cmake custom-triplets/x64-linux-static.cmake
|
||||
```
|
||||
|
||||
### Step 2: Use `--overlay-ports` to override default triplets
|
||||
### Step 2: Use `--overlay-triplets` to override default triplets
|
||||
|
||||
Use the `--overlay-triplets` option to include the triplets in the `custom-triplets` directory.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user