diff options
| author | ruki <[email protected]> | 2022-07-27 00:28:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-27 00:28:41 +0800 |
| commit | 15523799e55e04e8421c9a61da413d2a1814a0b2 (patch) | |
| tree | 975d2f96005b698b99040b47db8ae686050c62a3 | |
| parent | 30d028d5795e16cf0d5384abaa4835e2f0747248 (diff) | |
improve cmake.find_package
| -rw-r--r-- | xmake/modules/package/manager/cmake/find_package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/cmake/find_package.lua b/xmake/modules/package/manager/cmake/find_package.lua index f039dd042..c91873f7a 100644 --- a/xmake/modules/package/manager/cmake/find_package.lua +++ b/xmake/modules/package/manager/cmake/find_package.lua @@ -48,7 +48,7 @@ function _find_package(cmake, name, opt) -- set search mode, CONFIG, MODULE, BOTH -- e.g. https://cmake.org/cmake/help/latest/command/find_package.html#id4 if configs.search_mode then - requirestr = requirestr .. " " .. configs.search_mode + requirestr = requirestr .. " " .. configs.search_mode:upper() end -- use opt.components is for backward compatibility local components = configs.components or opt.components |
