Enable C++20 and use cmake 4

This commit is contained in:
2025-07-29 22:34:54 +02:00
parent 692edeb8e1
commit c1367e494e
7 changed files with 179 additions and 210 deletions

View File

@@ -126,7 +126,7 @@ namespace katja
std::ifstream info_stream{ info_filepath };
std::string info_line, info_variable, info_value;
std::string program_name, version, homepage, email, maintainer;
std::vector<std::string> download, md5sum, download_x86_64, md5sum_x86_64, requires;
std::vector<std::string> download, md5sum, download_x86_64, md5sum_x86_64, requirements;
bool continuation{ false };
while (std::getline(info_stream, info_line))
@@ -193,7 +193,7 @@ namespace katja
}
else if (info_variable == "REQUIRES")
{
boost::split(requires, info_value, boost::is_any_of(" "), boost::token_compress_on);
boost::split(requirements, info_value, boost::is_any_of(" "), boost::token_compress_on);
}
}
}