diff options
| author | ruki <[email protected]> | 2022-01-07 22:30:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-01-07 22:30:49 +0800 |
| commit | 704332f0dbb224ed4ef0fb6d4096e5eaf9f3e47b (patch) | |
| tree | 8858b5cca5a364b97b72da041c7f52b3a00bf9b6 /xmake/rules/c++/openmp/xmake.lua | |
| parent | a4943a509a8534cf1372b95162efd31fe532a8e5 (diff) | |
improve c++ modules
Diffstat (limited to 'xmake/rules/c++/openmp/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/openmp/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/openmp/xmake.lua b/xmake/rules/c++/openmp/xmake.lua index 47dd2d07f..82e3cc562 100644 --- a/xmake/rules/c++/openmp/xmake.lua +++ b/xmake/rules/c++/openmp/xmake.lua @@ -20,12 +20,12 @@ -- define rule: c.openmp rule("c.openmp") - on_load(function (target) + on_config(function (target) import("load")(target, "cc") end) -- define rule: c++.openmp rule("c++.openmp") - on_load(function (target) + on_config(function (target) import("load")(target, "cxx") end) |
