summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-30 19:43:22 +0800
committerGitHub <[email protected]>2021-11-30 19:43:22 +0800
commitdad63cc0315dc2e6a39e415addab470ecb1dd8c7 (patch)
treec58044bd77b2c38a97eb089f2576701c5f660baa
parent2cbe2a372389e8a20b6e509b74b6ce331fa1a626 (diff)
Update load.lua
-rw-r--r--xmake/rules/c++/openmp/load.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/openmp/load.lua b/xmake/rules/c++/openmp/load.lua
index 86828cc52..3f0508512 100644
--- a/xmake/rules/c++/openmp/load.lua
+++ b/xmake/rules/c++/openmp/load.lua
@@ -20,7 +20,7 @@
-- main entry
function main(target, sourcekind)
- wprint("we no longer need add_rules(\"%s.openmp\") now, you just need to add add_packages(\"libomp\").", sourcekind == "cxx" and "c++" or "c")
+ wprint("we no longer need add_rules(\"%s.openmp\") now, you just need to add add_packages(\"openmp\").", sourcekind == "cxx" and "c++" or "c")
local _, compiler_name = target:tool(sourcekind)
local flag_name = sourcekind == "cxx" and "cxxflags" or "cflags"
if compiler_name == "cl" then