Skip to content

Commit

Permalink
[ShaderCompiler]Fix clang compile error on latest spirv-cross lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
JX-Master committed Apr 27, 2024
1 parent 85a336c commit 895f821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Modules/Luna/ShaderCompiler/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ luna_sdk_module_target("ShaderCompiler")
add_rpathdirs("@executable_path/.")
end
add_links("dxcompiler")
set_exceptions("cxx")
after_build(function(target)
if target:is_plat("windows") then
if target:is_arch("x64") then
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function luna_sdk_module_target(target_name)
set_kind("static")
end
set_basename("Luna" .. target_name)
set_exceptions("none")
end

function set_luna_sdk_test()
Expand All @@ -113,7 +114,6 @@ end

add_includedirs("Modules")
set_languages("c99", "cxx17")
set_exceptions("none")

if is_os("windows") then
add_defines("_WINDOWS")
Expand Down

0 comments on commit 895f821

Please sign in to comment.