when using -DCMAKE_PREFIX_PATHS you use a semi-colon as a path separator, it seems that
"cmake.configureSettings": {
CMAKE_PREFIX_PATH: "/path/to/a;/path/to/b"
}
is not handled correctly by cmake tools the only way i could find to make it work was to use -DCMAKE_PREFIX_PATH=... in configureArgs, i also found that i couldn't get -L to work in configureArgs.
it seems the ; is being handled incorrectly, i also tried using "\"path1;path2\""
Hello! Sorry for the delay.
Try passing as a JSON list like so:
"cmake.configureSettings": {
"CMAKE_PREFIX_PATH": [
"/path/to/a",
"/path/to/b"
]
}
Most helpful comment
Hello! Sorry for the delay.
Try passing as a JSON list like so: