summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/c++/modules/gcc/support.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/gcc/support.lua b/xmake/rules/c++/modules/gcc/support.lua
index 75bb91030..25b664b86 100644
--- a/xmake/rules/c++/modules/gcc/support.lua
+++ b/xmake/rules/c++/modules/gcc/support.lua
@@ -183,7 +183,7 @@ function get_stdmodules(target)
if not path.is_absolute(module_file_path) then
module_file_path = path.join(modules_json_dir, module_file_path)
end
- table.insert(std_module_files, module_file_path)
+ table.insert(std_module_files, path.normalize(module_file_path))
end
return std_module_files
end