Trying to use PlatformIO in VSCode was giving me confusing “Bad CMake Executable” errors.
Cause: There was a separate “CMake Tools” extension installed in my VSCode.