mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
unify error messages
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ std::vector<std::string> to_string_vec(
|
||||
|
||||
CMake::CMake(const std::string &path, bool build) {
|
||||
if (!fs::exists(fs::path(path) / "cmake.toml")) {
|
||||
throw std::runtime_error("No cmake.toml was found!");
|
||||
throw std::runtime_error("[cmkr] error: No cmake.toml was found!");
|
||||
}
|
||||
const auto toml = toml::parse((fs::path(path) / "cmake.toml").string());
|
||||
if (build) {
|
||||
|
||||
Reference in New Issue
Block a user