From af9a117f50ea31dcc017f3ac11c93bcfe13e762d Mon Sep 17 00:00:00 2001 From: gmh5225 <2315157@qq.com> Date: Fri, 7 Oct 2022 06:50:26 +0800 Subject: [PATCH] Fix merge --- src/project_parser.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/project_parser.cpp b/src/project_parser.cpp index 8041387..448b1bd 100644 --- a/src/project_parser.cpp +++ b/src/project_parser.cpp @@ -525,12 +525,6 @@ Project::Project(const Project *parent, const std::string &path, bool build) { t.optional("msvc-static", target.allow_msvc_static); - if (!target.headers.empty()) { - auto &sources = target.sources.nth(0).value(); - const auto &headers = target.headers.nth(0)->second; - sources.insert(sources.end(), headers.begin(), headers.end()); - } - t.optional("condition", target.condition); t.optional("alias", target.alias);