From 3c774d085a0b1d42ed5ccd67b8416059128325a5 Mon Sep 17 00:00:00 2001 From: otreblan Date: Sun, 30 May 2021 17:35:38 -0500 Subject: [PATCH] Pass target names directly to make --- plugin/cmake.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/cmake.vim b/plugin/cmake.vim index dd2a3c1..e557445 100644 --- a/plugin/cmake.vim +++ b/plugin/cmake.vim @@ -178,7 +178,7 @@ function! s:cmake(...) let l:smp = '' endif - let &makeprg = 'cmake --build ' . shellescape(b:build_dir) . l:smp . ' --target' + let &makeprg = 'cmake --build ' . shellescape(b:build_dir) . l:smp . ' --' call s:cmake_configure(a:000) endfunction