From ea128c2d17c1d8bbfd8ac8ece36c708021c7b4b5 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 28 Nov 2021 14:12:30 +0800 Subject: add warning --- xmake/rules/c++/openmp/load.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/rules/c++/openmp/load.lua b/xmake/rules/c++/openmp/load.lua index a4535f553..86828cc52 100644 --- a/xmake/rules/c++/openmp/load.lua +++ b/xmake/rules/c++/openmp/load.lua @@ -20,6 +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") local _, compiler_name = target:tool(sourcekind) local flag_name = sourcekind == "cxx" and "cxxflags" or "cflags" if compiler_name == "cl" then -- cgit v1.3.1