remove cmake module for real
This commit is contained in:
@@ -42,15 +42,7 @@ end
|
||||
function M.configure_cmake(build_type)
|
||||
vim.fn.mkdir("build", "p")
|
||||
|
||||
local cmake_module_path = vim.fn.getenv("CMAKE_MODULE_PATH")
|
||||
|
||||
local module_path_arg = ""
|
||||
if cmake_module_path ~= nil and cmake_module_path ~= "" then
|
||||
module_path_arg = "-DCMAKE_MODULE_PATH=" .. cmake_module_path
|
||||
end
|
||||
|
||||
local cmake_args = {
|
||||
module_path_arg,
|
||||
"-DCMAKE_BUILD_TYPE=" .. build_type,
|
||||
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
|
||||
".."
|
||||
|
||||
Reference in New Issue
Block a user