diff options
Diffstat (limited to 'LanguageSettings.cpp')
-rw-r--r-- | LanguageSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LanguageSettings.cpp b/LanguageSettings.cpp index 57a550d..1d243d5 100644 --- a/LanguageSettings.cpp +++ b/LanguageSettings.cpp @@ -73,7 +73,7 @@ std::string LanguageSettings::getCompileCommand(const std::filesystem::path& tar const std::vector<std::filesystem::path>& includepaths) const { std::string includes{std::accumulate(includepaths.begin(), includepaths.end(), std::string{}, - [](const std::string& sum, const fs::path& p){ return sum + " " + p.string();})}; + [](const std::string& sum, const fs::path& p){ return sum + " -I" + p.string();})}; // compile: $(CXX) $(CXXFLAGS) -c $< -o $@ return fmt::format("{}{}{} -c {} -o {}", |