CMAKE_PROGRAM_PATH

Semicolon-separated list of directories specifying a search path for the find_program() command. By default it is empty, it is intended to be set by the project.

There is also an environment variable CMAKE_PROGRAM_PATH, which is used as an additional list of search directories.

另請參見 CMAKE_SYSTEM_PROGRAM_PATHCMAKE_PREFIX_PATH