diff --git a/src/cmake_generator.cpp b/src/cmake_generator.cpp index e0a3a79..ed0d59f 100644 --- a/src/cmake_generator.cpp +++ b/src/cmake_generator.cpp @@ -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 << '\"';