CMAKE_PROGRAM_PATH

這是一個 CMake 環境變數。其初始值取自呼叫進程的環境。

CMAKE_PROGRAM_PATH 環境變數可設定為一串目錄列表,供 find_program() 命令進行搜尋。

This variable may hold a single directory or a list of directories separated by : on UNIX or ; on Windows (the same as the PATH environment variable convention on those platforms).

另請參見 CMAKE_PROGRAM_PATH CMake 變數。