MCPcopy Create free account
hub / github.com/Kitware/CMake / FindEnvironmentConfig

Method FindEnvironmentConfig

Source/cmFindPackageCommand.cxx:2032–2040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2030}
2031
2032bool cmFindPackageCommand::FindEnvironmentConfig()
2033{
2034 std::vector<std::string> const& prefixes =
2035 cmSystemTools::GetEnvPathNormalized("CPS_PATH");
2036 return std::any_of(prefixes.begin(), prefixes.end(),
2037 [this](std::string const& p) -> bool {
2038 return this->SearchEnvironmentPrefix(p);
2039 });
2040}
2041
2042cmFindPackageCommand::AppendixMap cmFindPackageCommand::FindAppendices(
2043 std::string const& base, cmPackageInfoReader const& baseReader) const

Callers 1

FindConfigMethod · 0.95

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected