添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

CMAKE_PREFIX_PATH

Semicolon-separated list of directories specifying installation prefixes to be searched by the find_package() , find_program() , find_library() , find_file() , and find_path() commands. Each command will add appropriate subdirectories (like bin , lib , or include ) as specified in its own documentation.

By default this is empty. It is intended to be set by the project.

There is also an environment variable CMAKE_PREFIX_PATH , which is used as an additional list of search prefixes.

See also CMAKE_SYSTEM_PREFIX_PATH , CMAKE_INCLUDE_PATH , CMAKE_LIBRARY_PATH , CMAKE_PROGRAM_PATH , and CMAKE_IGNORE_PATH .