From 960a3d34c83a9358a117a0c27423e45e6dfd759e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludvig=20Gunne=20Lindstr=C3=B6m?= Date: Tue, 27 Aug 2024 11:27:32 +0200 Subject: [PATCH] fix parsing of msvc /std option --- lib/importproject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index f07a9c5b575..31e9e2fef58 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -289,7 +289,7 @@ bool ImportProject::fsParseCommand(FileSettings& fs, const std::string& command) while (pos < command.size() && command[pos] == ' ') ++pos; } - const std::string fval = readUntil(command, &pos, " ="); + const std::string fval = readUntil(command, &pos, " =:"); if (F=='D') { std::string defval = readUntil(command, &pos, " "); defs += fval;