fix cmake bug

This commit is contained in:
2025-10-25 00:56:06 -03:00
parent d4ebee1c9b
commit 0f393df44e

View File

@@ -56,7 +56,7 @@ vim.api.nvim_create_user_command("Build", function(opts)
local t = opts.args
if t == "" then print("Usage: :Build <target>"); return end
float_term(
{ CMAKE, "--build", "build", "--parallel", "20", "--target", t },
{ M.find_cmake(), "--build", "build", "--parallel", "20", "--target", t },
{ height_ratio = 0.8, width_ratio = 0.8, border = "single" }
)
end, { nargs = 1 })