diff options
author | Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> | 2018-08-11 00:13:53 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2018-08-14 10:54:56 (GMT) |
commit | 30d08bdce92960caa3fc68a3de95fffdf569e97b (patch) | |
tree | 64dae4ded21f9a60a29c8070ead620f35136d3e2 /Modules/FindPackageHandleStandardArgs.cmake | |
parent | eba2b13a835000a614f21a1205a598462a4f8843 (diff) | |
download | CMake-30d08bdce92960caa3fc68a3de95fffdf569e97b.zip CMake-30d08bdce92960caa3fc68a3de95fffdf569e97b.tar.gz CMake-30d08bdce92960caa3fc68a3de95fffdf569e97b.tar.bz2 |
doc: Consistently use <PackageName> for describing the name of a package
Diffstat (limited to 'Modules/FindPackageHandleStandardArgs.cmake')
-rw-r--r-- | Modules/FindPackageHandleStandardArgs.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake index 67f6bd6..1722d6a 100644 --- a/Modules/FindPackageHandleStandardArgs.cmake +++ b/Modules/FindPackageHandleStandardArgs.cmake @@ -145,7 +145,7 @@ endmacro() # internal helper macro to generate the failure message when used in CONFIG_MODE: macro(_FPHSA_HANDLE_FAILURE_CONFIG_MODE) - # <name>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found: + # <PackageName>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found: if(${_NAME}_CONFIG) _FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing:${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})") else() @@ -199,7 +199,7 @@ function(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG) set(FPHSA_FAIL_MESSAGE "DEFAULT_MSG") endif() - # In config-mode, we rely on the variable <package>_CONFIG, which is set by find_package() + # In config-mode, we rely on the variable <PackageName>_CONFIG, which is set by find_package() # when it successfully found the config-file, including version checking: if(FPHSA_CONFIG_MODE) list(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG) |