diff --git a/src/cmake.cc b/src/cmake.cc index 990c7ba..e2786f2 100644 --- a/src/cmake.cc +++ b/src/cmake.cc @@ -72,16 +72,18 @@ bool CMake::update_default_build(const boost::filesystem::path &default_build_pa if(exit_status==EXIT_SUCCESS) { #ifdef _WIN32 //Temporary fix to MSYS2's libclang auto compile_commands_file=filesystem::read(compile_commands_path); - size_t pos=0; - while((pos=compile_commands_file.find("-I/", pos))!=std::string::npos) { - if(pos+3