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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user