xmake: Fix project generation with xmake 2.8.3+

there was an extra add_headerfiles adding .nzsl files as header which doesn't work quite well with add_extrafiles adding the same files
This commit is contained in:
Lynix 2023-10-27 20:03:59 +02:00
parent ebd021955c
commit f707c3b739
1 changed files with 0 additions and 1 deletions

View File

@ -462,7 +462,6 @@ function ModuleTargetConfig(name, module)
for _, ext in ipairs({".h", ".hpp", ".inl"}) do
add_headerfiles("include/(Nazara/" .. name .. "/**" .. ext .. ")")
add_headerfiles("src/Nazara/" .. name .. "/**" .. ext, { prefixdir = "private", install = false })
add_headerfiles("src/Nazara/" .. name .. "/Resources/**.nzsl", { prefixdir = "private", install = false })
end
remove_headerfiles("src/Nazara/" .. name .. "/Resources/**.h")