buildPresets targets field doesn't accept single string
{
"version": 2,
"configurePresets": [
{
"name": "Release",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build-Release"
}
],
"buildPresets": [
{
"name": "Release",
"configurePreset": "Release",
"targets": "install"
}
]
}
In this file, targets
should be interpreted as a list of a single string, but it is treated as an error instead.