2017-05-25 14:33:16 +08:00
# vcpkg_find_acquire_program
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_find_acquire_program.md ).
2021-03-01 05:17:19 +08:00
2017-05-25 14:33:16 +08:00
Download or find a well-known tool.
## Usage
```cmake
2021-11-11 14:13:22 +08:00
vcpkg_find_acquire_program(< program > )
2017-05-25 14:33:16 +08:00
```
## Parameters
2021-11-11 14:13:22 +08:00
### program
2017-05-25 14:33:16 +08:00
This variable specifies both the program to be acquired as well as the out parameter that will be set to the path of the program executable.
## Notes
The current list of programs includes:
2020-12-02 05:37:26 +08:00
* 7Z
* ARIA2 (Downloader)
* BISON
* CLANG
* DARK
* DOXYGEN
* FLEX
* GASPREPROCESSOR
* GPERF
* PERL
* PYTHON2
* PYTHON3
* GIT
* GN
* GO
* JOM
* MESON
* NASM
* NINJA
* NUGET
* SCONS
* SWIG
* YASM
2017-05-25 14:33:16 +08:00
Note that msys2 has a dedicated helper function: [`vcpkg_acquire_msys` ](vcpkg_acquire_msys.md ).
## Examples
* [ffmpeg ](https://github.com/Microsoft/vcpkg/blob/master/ports/ffmpeg/portfile.cmake )
* [openssl ](https://github.com/Microsoft/vcpkg/blob/master/ports/openssl/portfile.cmake )
* [qt5 ](https://github.com/Microsoft/vcpkg/blob/master/ports/qt5/portfile.cmake )
## Source
2021-03-01 05:17:19 +08:00
[scripts/cmake/vcpkg\_find\_acquire\_program.cmake ](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_find_acquire_program.cmake )