diff options
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_package.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 6506dcffa..f02204c4f 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua @@ -149,8 +149,8 @@ function sandbox_lib_detect_find_package._find_from_prefixdirs(name, opt) local packagepath = path.join(name:sub(1, 1), name, "*") table.insert(packagedirs, path.join(config.directory(), "installed", platsubdirs, "debug", packagepath)) table.insert(packagedirs, path.join(config.directory(), "installed", platsubdirs, "release", packagepath)) - table.insert(packagedirs, path.join(global.directory(), "installed", platsubdirs, "debug", ackagepath)) - table.insert(packagedirs, path.join(global.directory(), "installed", platsubdirs, "release", ackagepath)) + table.insert(packagedirs, path.join(global.directory(), "installed", platsubdirs, "debug", packagepath)) + table.insert(packagedirs, path.join(global.directory(), "installed", platsubdirs, "release", packagepath)) local prefixfile = find_file("prefixinfo.txt", packagedirs) -- get the include and link directories |
