summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresetsBuild/Good.json.in
diff options
context:
space:
mode:
authorSam Freed <safreed@microsoft.com>2021-06-03 22:33:58 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-07 17:56:44 (GMT)
commitefe7ac9022b18132d33c68919c81422d738cd672 (patch)
tree8318f2e00483eef44567c66b79413f493434062a /Tests/RunCMake/CMakePresetsBuild/Good.json.in
parent9c33ff4dda643f8a93d55f9895e31dce9056134f (diff)
downloadCMake-efe7ac9022b18132d33c68919c81422d738cd672.zip
CMake-efe7ac9022b18132d33c68919c81422d738cd672.tar.gz
CMake-efe7ac9022b18132d33c68919c81422d738cd672.tar.bz2
presets: Fix buildPreset "targets" not allowing a single string
Fixes: #22272
Diffstat (limited to 'Tests/RunCMake/CMakePresetsBuild/Good.json.in')
-rw-r--r--Tests/RunCMake/CMakePresetsBuild/Good.json.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresetsBuild/Good.json.in b/Tests/RunCMake/CMakePresetsBuild/Good.json.in
index fd43c4e..3d0b838 100644
--- a/Tests/RunCMake/CMakePresetsBuild/Good.json.in
+++ b/Tests/RunCMake/CMakePresetsBuild/Good.json.in
@@ -73,6 +73,11 @@
"vendor": {
"example.com": "value"
}
+ },
+ {
+ "name": "singleTarget",
+ "inherits": "build-default",
+ "targets": "good"
}
]
}