Skip to content

Commit

Permalink
fix cmake check importfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 10, 2025
1 parent 1f34ccd commit aca0146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/lib/detect/check_importfiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function main(names, opt)
if opt.CMAKE_PREFIX_PATH then
opt.configs = opt.configs or {}
opt.configs.envs = opt.configs.envs or {}
opt.configs.envs.CMAKE_PREFIX_PATH = path.joinenv(opt.CMAKE_PREFIX_PATH)
opt.configs.envs.CMAKE_PREFIX_PATH = path.joinenv(table.wrap(opt.CMAKE_PREFIX_PATH))
end
local result = cmake_find_package(name, opt)
if verbose and result then
Expand Down

0 comments on commit aca0146

Please sign in to comment.