diff options
| -rw-r--r-- | xmake/modules/detect/tools/find_dxc.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/find_dxc.lua b/xmake/modules/detect/tools/find_dxc.lua index 075bbb6c3..3bded84c3 100644 --- a/xmake/modules/detect/tools/find_dxc.lua +++ b/xmake/modules/detect/tools/find_dxc.lua @@ -37,20 +37,13 @@ import("lib.detect.find_programver") -- @endcode -- function main(opt) - - -- init options opt = opt or {} - - -- find program - opt.paths = opt.paths or - { + opt.paths = opt.paths or { "$(env VULKAN_SDK)/Bin", "$(env VK_SDK_PATH)/Bin", "$(env PATH)" } local program = find_program(opt.program or "dxc.exe", opt) - - -- find program version local version = nil if program and opt and opt.version then version = find_programver(program, opt) |
