diff options
| author | ruki <[email protected]> | 2022-07-27 00:50:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-27 00:50:08 +0800 |
| commit | 77c7f62040c0b577ac0a7350fda95a9e48bcab32 (patch) | |
| tree | 7ff86e2ba59697f369ea6af92039ce38459b9ba5 | |
| parent | 0f0328abae8242d6020c9e5e4e4cacb1a16278df (diff) | |
update note
| -rw-r--r-- | xmake/modules/package/manager/cmake/find_package.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/cmake/find_package.lua b/xmake/modules/package/manager/cmake/find_package.lua index c91873f7a..a202d1781 100644 --- a/xmake/modules/package/manager/cmake/find_package.lua +++ b/xmake/modules/package/manager/cmake/find_package.lua @@ -45,7 +45,8 @@ function _find_package(cmake, name, opt) if opt.require_version and opt.require_version ~= "latest" then requirestr = requirestr .. " " .. opt.require_version end - -- set search mode, CONFIG, MODULE, BOTH + -- set search mode, e.g. config, module + -- it will be both mode if do not set this config. -- e.g. https://cmake.org/cmake/help/latest/command/find_package.html#id4 if configs.search_mode then requirestr = requirestr .. " " .. configs.search_mode:upper() |
