Correct parameter reference (#10472)

- Change references to --overlay-ports to --overlay-triplets
This commit is contained in:
Michael Kelley 2020-03-20 16:37:09 -07:00 committed by GitHub
parent 056e9517ec
commit a5a244f5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.