summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-24 00:45:45 +0800
committerruki <[email protected]>2024-08-24 00:45:45 +0800
commit3ba77c15ccf34187b6678f277f2dd418433493c8 (patch)
tree1a4f6b555f1881f13beb45f47412fa2cbcdee19b
parent31ec42ea9eb33b179f241f2b36abe087343f4045 (diff)
fix pkgconf for cmake
-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