diff options
| author | Jérôme Leclercq <[email protected]> | 2021-04-03 12:43:08 +0200 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2021-04-03 12:43:08 +0200 |
| commit | 546d68e22bfb77b4e3bb49b45829ec8eee676641 (patch) | |
| tree | 97c06e3bf98b23291d181538d5d4603db2328b05 | |
| parent | 992c21ffaf20879693656e0b62bd52ff376fcede (diff) | |
Use includedir for moc (as msvc sysincludedirs are not supported)
| -rw-r--r-- | xmake/rules/qt/moc/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/moc/xmake.lua b/xmake/rules/qt/moc/xmake.lua index 46ff73dfa..4c4d304bc 100644 --- a/xmake/rules/qt/moc/xmake.lua +++ b/xmake/rules/qt/moc/xmake.lua @@ -53,7 +53,7 @@ rule("qt.moc") local flags = {} table.join2(flags, compiler.map_flags("cxx", "define", target:get("defines"))) table.join2(flags, compiler.map_flags("cxx", "includedir", target:get("includedirs"))) - table.join2(flags, compiler.map_flags("cxx", "sysincludedir", target:get("sysincludedirs"))) + table.join2(flags, compiler.map_flags("cxx", "includedir", target:get("sysincludedirs"))) table.join2(flags, compiler.map_flags("cxx", "frameworkdir", target:get("frameworkdirs"))) batchcmds:mkdir(path.directory(sourcefile_moc)) batchcmds:vrunv(moc, table.join(flags, sourcefile, "-o", sourcefile_moc)) |
