We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffa320 commit a9fb748Copy full SHA for a9fb748
xmake/rules/capnproto/capnp.lua
@@ -81,7 +81,7 @@ function buildcmd(target, batchcmds, sourcefile_capnp, opt)
81
table.insert(argv, sourcefile_capnp)
82
batchcmds:vrunv(capnp, argv)
83
local configs = {includedirs = sourcefile_dir, languages = "c++14"}
84
- if package:is_plat("windows") then
+ if target:is_plat("windows") then
85
configs.cxflags = "/TP"
86
end
87
batchcmds:compile(sourcefile_cx, objectfile, {sourcekind = "cxx", configs = configs})
0 commit comments