diff --git a/packages/o/openmp/xmake.lua b/packages/o/openmp/xmake.lua index dbb2cd521..0b7260d50 100644 --- a/packages/o/openmp/xmake.lua +++ b/packages/o/openmp/xmake.lua @@ -58,8 +58,11 @@ package("openmp") return end end - -- need to detect the existance of flags - return {} + -- we need fetch the installed flags in on_load + local manifest = package:manifest_load() + if manifest then + return manifest.vars + end end) on_install("linux", "macosx", "windows", function (package)