Skip to main content

kmpkg_find_acquire_program

Download or find a well-known tool.

Usage

kmpkg_find_acquire_program(<program>)

Parameters

program

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
  • CLANG
  • DARK
  • DOXYGEN
  • FLEX
  • GASPREPROCESSOR
  • GPERF
  • PERL
  • PYTHON2
  • PYTHON3
  • GIT
  • GN
  • GO
  • JOM
  • MESON
  • NASM
  • NINJA
  • NUGET
  • SCONS
  • SWIG
  • YASM

msys2 has a dedicated helper function: kmpkg_acquire_msys.

Examples

Source

scripts/cmake/kmpkg_find_acquire_program.cmake