mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-06 16:08:42 +08:00
add CMAKE_PREFIX_PATH to cmake completion
https://cmake.org/cmake/help/v3.3/variable/CMAKE_PREFIX_PATH.html * some packages provide no Find${PROJECT}.cmake file but a ${PROJECT}Config.cmake instead * providing these through CMAKE_MODULE_PATH just results in an error message, which points out one should've used CMAKE_PREFIX_PATH instead.
This commit is contained in:
1 parent
f615a1b518
commit
51592ac5a6
1 file changed
+2
-1
+2
-1
@@ -302,7 +302,8 @@ _cmake_define_lang_property_names() {
|
||||
(( $+functions[_cmake_define_common_property_names] )) ||
|
||||
_cmake_define_common_property_names() {
|
||||
local properties; properties=(
|
||||
'CMAKE_MODULE_PATH:Search path for cmake modules'
|
||||
'CMAKE_MODULE_PATH:Search path for cmake modules (FindPROJECT.cmake)'
|
||||
'CMAKE_PREFIX_PATH:Search path for installations (PROJECTConfig.cmake)'
|
||||
'CMAKE_BUILD_TYPE:Specifies the build type for make based generators'
|
||||
'CMAKE_TOOLCHAIN_FILE:Absolute or relative path to a cmake script which sets up toolchain related variables'
|
||||
'CMAKE_COLOR_MAKEFILE:Enables/disables color output when using the Makefile generator'
|
||||
|
||||
Reference in new issue
Block a user