vcpkg/docs/maintainers/vcpkg_add_to_path.md
Don a421f43ed1 Add headers to vcpkg_download_distfile (#5640)
* Add headers to vcpkg_download_distfile

Allows headers to be appended when downloading a distribution. This allows for setting
authentication headers to download from a private repository.

* [scripts,docs] Regenerate docs for portfile functions

* [docs,scripts] Fix typo regressions

* [docs,scripts] Fix broken link
2019-03-14 13:43:49 -07:00

668 B

vcpkg_add_to_path

Add a directory to the PATH environment variable

Usage

vcpkg_add_to_path([PREPEND] <${PYTHON3_DIR}>)

Parameters

The directory to add

PREPEND

Prepends the directory.

The default is to append.

Examples:

Source

scripts/cmake/vcpkg_add_to_path.cmake