We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f1efc commit 4481b50Copy full SHA for 4481b50
1 file changed
lua/cmake-tools/init.lua
@@ -206,6 +206,9 @@ function cmake.generate(opt, callback)
206
-- if exists cmake-kits.json, kit is used to set
207
-- environmental variables and args.
208
local kits_config = kits.parse(const.cmake_kits_path, config.cwd)
209
+ if not kits_config then
210
+ kits_config = scanner.scan_for_kits()
211
+ end
212
if kits_config and not config.kit then
213
return cmake.select_kit(function(result)
214
if not result:is_ok() then
0 commit comments