Fix tabbing in vcpkg.json for packages that have features

main
cursey 3 years ago
parent 3201fd052e
commit 61dfb0eb60
No known key found for this signature in database
GPG Key ID: A6A7163A1B8FD42C

@ -618,8 +618,8 @@ void generate_cmake(const char *path, const parser::Project *parent_project) {
ofs << " \"" << package.name << '\"';
} else {
ofs << " {\n";
ofs << " \"name\": \"" << package.name << "\",\n";
ofs << " \"features\": [";
ofs << " \"name\": \"" << package.name << "\",\n";
ofs << " \"features\": [";
for (size_t j = 0; j < package.features.size(); j++) {
const auto &feature = package.features[j];
ofs << '\"' << feature << '\"';

Loading…
Cancel
Save