From 2117893b8747a65310b02687eb807dab37857366 Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Tue, 15 Sep 2020 21:17:08 +0300 Subject: [PATCH] fix for msvc --- src/cmake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake.cpp b/src/cmake.cpp index 931d968..f36f8db 100644 --- a/src/cmake.cpp +++ b/src/cmake.cpp @@ -23,7 +23,7 @@ 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!"); } - const auto toml = toml::parse(fs::path(path) / "cmake.toml"); + const auto toml = toml::parse((fs::path(path) / "cmake.toml").string()); if (build) { if (toml.contains("cmake")) { const auto &cmake = toml::find(toml, "cmake");