Skip to content

Commit 77c7f62

Browse files
committed
update note
1 parent 0f0328a commit 77c7f62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xmake/modules/package/manager/cmake/find_package.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function _find_package(cmake, name, opt)
4545
if opt.require_version and opt.require_version ~= "latest" then
4646
requirestr = requirestr .. " " .. opt.require_version
4747
end
48-
-- set search mode, CONFIG, MODULE, BOTH
48+
-- set search mode, e.g. config, module
49+
-- it will be both mode if do not set this config.
4950
-- e.g. https://cmake.org/cmake/help/latest/command/find_package.html#id4
5051
if configs.search_mode then
5152
requirestr = requirestr .. " " .. configs.search_mode:upper()

0 commit comments

Comments
 (0)