summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstar-hengxing <[email protected]>2023-02-18 21:06:10 +0800
committerstar-hengxing <[email protected]>2023-02-18 21:06:10 +0800
commit85fc36e139b0bb3695cf5853a5e9aab58e52f61d (patch)
tree26498d82b67fddc50e69aa77325369bfbebdd00b
parent960abbeb4e89a7f72927b5d7a72a93c51de06dd0 (diff)
fix input configs
-rw-r--r--xmake/modules/package/manager/cmake/configurations.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/xmake/modules/package/manager/cmake/configurations.lua b/xmake/modules/package/manager/cmake/configurations.lua
index e65525f6d..ae69199ba 100644
--- a/xmake/modules/package/manager/cmake/configurations.lua
+++ b/xmake/modules/package/manager/cmake/configurations.lua
@@ -22,10 +22,12 @@
function main()
return
{
- components = {description = "Set the cmake package components, e.g. {\"regex\", \"system\"}"},
- moduledirs = {description = "Set the cmake modules directories."},
- presets = {description = "Set the preset values, e.g. {Boost_USE_STATIC_LIB = true}"},
- envs = {description = "Set the run environments of cmake, e.g. {CMAKE_PREFIX_PATH = \"xxx\"}"},
+ link_libraries = {description = "Set the cmake package dependencies, e.g. {\"abc::lib1\", \"abc::lib2\"}"},
+ search_mode = {description = "Set the cmake package search mode, e.g. {\"config\", \"module\"}"},
+ components = {description = "Set the cmake package components, e.g. {\"regex\", \"system\"}"},
+ moduledirs = {description = "Set the cmake modules directories."},
+ presets = {description = "Set the preset values, e.g. {Boost_USE_STATIC_LIB = true}"},
+ envs = {description = "Set the run environments of cmake, e.g. {CMAKE_PREFIX_PATH = \"xxx\"}"},
}
end