CMakeBuilder icon indicating copy to clipboard operation
CMakeBuilder copied to clipboard

trailing commas in sublime-project file trigger crypitc error during configure: "Error while configuring project: env"

Open minerscale opened this issue 1 year ago • 0 comments

Hi! This sublime-project file will trigger this error during the configure step: "Error while configuring project: env"

The problem was fixed by removing the trailing comma from "CMAKE_TOOLCHAIN_FILE"

{
    "folders":
    [
        {
            "path": ".",
        }
    ],
    "settings":
    {
        "cmake":
        {
            "build_folder": "$folder/build",
            "generator": "Ninja",
            "command_line_overrides":
            {
                "CMAKE_TOOLCHAIN_FILE": "toolchain.cmake", // <- that trailing comma is the problem!
            },
        },
    },
}

Thanks, Aaron.

minerscale avatar Jan 05 '24 13:01 minerscale