2020-12-02 05:37:26 +08:00
# vcpkg_buildpath_length_warning
2021-03-11 01:56:07 +08:00
The latest version of this document lives in the [vcpkg repo ](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_buildpath_length_warning.md ).
2021-03-01 05:17:19 +08:00
2020-12-02 05:37:26 +08:00
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-03-01 05:17:19 +08:00
[scripts/cmake/vcpkg\_buildpath\_length\_warning.cmake ](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_buildpath_length_warning.cmake )