2020-12-02 05:37:26 +08:00
|
|
|
# vcpkg_buildpath_length_warning
|
|
|
|
|
|
|
|
Warns the user if their vcpkg installation path might be too long for the package they're installing.
|
|
|
|
|
|
|
|
```cmake
|
2021-02-16 04:26:56 +08:00
|
|
|
vcpkg_buildpath_length_warning(<N>)
|
2020-12-02 05:37:26 +08:00
|
|
|
```
|
|
|
|
|
2021-02-16 04:26:56 +08:00
|
|
|
`vcpkg_buildpath_length_warning` warns the user if the number of bytes in the
|
|
|
|
path to `buildtrees` is bigger than `N`. Note that this is simply a warning,
|
|
|
|
and isn't relied on for correctness.
|
|
|
|
|
2020-12-02 05:37:26 +08:00
|
|
|
## Source
|
2021-02-09 05:55:11 +08:00
|
|
|
[scripts/cmake/vcpkg_buildpath_length_warning.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_buildpath_length_warning.cmake)
|