diff options
| -rw-r--r-- | xmake/rules/wdk/mof/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/wdk/mof/xmake.lua b/xmake/rules/wdk/mof/xmake.lua index 5e2f25141..c155307fa 100644 --- a/xmake/rules/wdk/mof/xmake.lua +++ b/xmake/rules/wdk/mof/xmake.lua @@ -53,6 +53,9 @@ rule("wdk.mof") local wmimofck = nil if arch == "x64" then wmimofck = path.join(wdk.bindir, wdk.sdkver, "x64", "wmimofck.exe") + if not os.isexec(wmimofck) then + wmimofck = path.join(wdk.bindir, wdk.sdkver, "x86", "x64", "wmimofck.exe") + end else wmimofck = path.join(wdk.bindir, wdk.sdkver, "x86", "wmimofck.exe") end |
