remove cmake module for real

This commit is contained in:
2025-11-23 21:13:47 -03:00
parent 7ff4724ab4
commit eb50b528a4

View File

@@ -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",
".."