From 77c633dc1b5b0ada45dd4907cea57fa34d8cd770 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Wed, 7 Dec 2022 23:24:27 +0100 Subject: code cleanup --- xmake/rules/c++/modules/modules_support/msvc.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua') diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua index 756f19703..5e56b1241 100644 --- a/xmake/rules/c++/modules/modules_support/msvc.lua +++ b/xmake/rules/c++/modules/modules_support/msvc.lua @@ -732,9 +732,6 @@ function get_requiresflags(target, requires, opt) table.join2(flags, modulemap_[name].flag) table.join2(flags, modulemap_[name].deps or {}) already_mapped_modules[name] = true - if os.isfile(modulemap_[name].objectfile) then - _add_objectfile_to_link_arguments(target, modulemap_[name].objectfile) - end goto continue end end -- cgit v1.3.1