mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 06:19:07 +08:00
21 lines
394 B
Markdown
21 lines
394 B
Markdown
|
# vcpkg_add_to_path
|
||
|
|
||
|
Add a directory to the PATH environment variable
|
||
|
|
||
|
## Usage
|
||
|
```cmake
|
||
|
vcpkg_add_to_path([PREPEND] <${PYTHON3_DIR}>)
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
### <positional>
|
||
|
The directory to add
|
||
|
|
||
|
### PREPEND
|
||
|
Prepends the directory.
|
||
|
|
||
|
The default is to append.
|
||
|
|
||
|
## Source
|
||
|
[scripts/cmake/vcpkg_add_to_path.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_add_to_path.cmake)
|