summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 258b1a0f0..4af3d22ad 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -954,7 +954,7 @@ function buildenvs(package, opt)
if package:is_plat("windows", "mingw") and is_subhost("windows") then
local pkgconf = _get_pkgconfig(package)
if pkgconf then
- envs.PKG_CONFIG = pkgconf.program
+ envs.PKG_CONFIG = pkgconf
end
end