vcpkg/docs/maintainers/vcpkg_find_acquire_program.md
Robert Schumacher c0d22c88ea
[vcpkg_install_qmake] Add vcpkg_install_qmake (#9412)
* [vcpkg_install_qmake] Add vcpkg_install_qmake and convert existing ports to use it.
[vcpkg_configure_qmake] Add 'staticlib' to CONFIG in static builds

* [vcpkg_configure_qmake] Don't specify DESTDIR

* [libqglviewer][vcpkg_configure_qmake] Add staticlib CONFIG only for libqglviewer

* [qt5-base] Increment version to track changes in vcpkg_configure_qmake()
2019-12-23 06:10:12 -08:00

995 B

vcpkg_find_acquire_program

Download or find a well-known tool.

Usage

vcpkg_find_acquire_program(<VAR>)

Parameters

VAR

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:

  • 7Z
  • BISON
  • FLEX
  • GASPREPROCESSOR
  • PERL
  • PYTHON2
  • PYTHON3
  • GO
  • JOM
  • MESON
  • NASM
  • NINJA
  • NUGET
  • YASM
  • ARIA2 (Downloader)

Note that msys2 has a dedicated helper function: vcpkg_acquire_msys.

Examples

Source

scripts/cmake/vcpkg_find_acquire_program.cmake