| 551 | } |
| 552 | |
| 553 | cm::optional<std::string> cmPackageInfoReader::GetVersion() const |
| 554 | { |
| 555 | Json::Value const& version = this->Data["version"]; |
| 556 | if (version.isString()) { |
| 557 | return version.asString(); |
| 558 | } |
| 559 | return cm::nullopt; |
| 560 | } |
| 561 | |
| 562 | cm::optional<std::string> cmPackageInfoReader::GetCompatVersion() const |
| 563 | { |
no test coverage detected