Skip to content

Commit

Permalink
chore: Even stronger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeioth committed Nov 2, 2023
1 parent 7b0c7f5 commit d1a8e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/compiler/bau/cmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ function M.action(option)

-- Global: CMAKE_BUILD_DIR
local success, build_dir = pcall(vim.api.nvim_get_var, 'CMAKE_BUILD_DIR')
if not success then build_dir = './build' end
if not success or build_dir == "" then build_dir = './build' end

-- Global: CMAKE_BUILD_TYPE
local success, build_type = pcall(vim.api.nvim_get_var, 'CMAKE_BUILD_TYPE')
if not success then build_type = 'Debug' end
if not success or build_type == "" then build_type = 'Debug' end

-- Global: CMAKE_CLEAN_FIRST
local clean_first_arg = ""
Expand Down

0 comments on commit d1a8e22

Please sign in to comment.