From f707c3b7397dee506c6d8dd08fc8c9ec884b8d28 Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 27 Oct 2023 20:03:59 +0200 Subject: [PATCH] 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 --- xmake.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index 9dab16770..874aaa6dd 100644 --- a/xmake.lua +++ b/xmake.lua @@ -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")