From ba4ba0bf697cfc2b95edbd53d9301bbbb3803129 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 23 Sep 2018 23:25:03 +0800 Subject: improve to try building --- xmake/core/sandbox/modules/import/lib/detect/find_package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core') diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua index 57db255b3..39b08a78a 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua @@ -144,7 +144,7 @@ function sandbox_lib_detect_find_package._find_from_prefixdirs(name, opt) end -- find the package list file, .e.g zlib-1.2.11.txt - local prefixfile = find_file(name .. "-*.txt", prefixdirs, {suffixes = ".list"}) + local prefixfile = find_file(name .. "-*.txt", prefixdirs, {suffixes = ".info"}) -- get the include and link directories local linkdirs = {} -- cgit v1.3.1