Skip to content

Commit 3ba77c1

Browse files
committed
fix pkgconf for cmake
1 parent 31ec42e commit 3ba77c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/package/tools/cmake.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ function buildenvs(package, opt)
954954
if package:is_plat("windows", "mingw") and is_subhost("windows") then
955955
local pkgconf = _get_pkgconfig(package)
956956
if pkgconf then
957-
envs.PKG_CONFIG = pkgconf.program
957+
envs.PKG_CONFIG = pkgconf
958958
end
959959
end
960960

0 commit comments

Comments
 (0)