summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-11-12 14:41:09 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-11-12 14:41:09 (GMT)
commitf05d7ed5ffb00b4d146172e2fd29a988a534d99e (patch)
tree9b54d0c319c58d9dbbe45e055dfb537148b9ae15 /Modules
parentc310480c5dc76ad0c1eb4e842869f92121d5b507 (diff)
downloadCMake-f05d7ed5ffb00b4d146172e2fd29a988a534d99e.zip
CMake-f05d7ed5ffb00b4d146172e2fd29a988a534d99e.tar.gz
CMake-f05d7ed5ffb00b4d146172e2fd29a988a534d99e.tar.bz2
Help: correct macro -> function in CheckPrototypeDefinition
Correct in text, and downcase function name in function statement.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckPrototypeDefinition.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckPrototypeDefinition.cmake b/Modules/CheckPrototypeDefinition.cmake
index b379ec4..c90b766 100644
--- a/Modules/CheckPrototypeDefinition.cmake
+++ b/Modules/CheckPrototypeDefinition.cmake
@@ -28,7 +28,7 @@ Example:
"unistd.h;pwd.h"
SOLARIS_GETPWENT_R)
-The following variables may be set before calling this macro to modify
+The following variables may be set before calling this function to modify
the way the check is run:
::
@@ -46,7 +46,7 @@ get_filename_component(__check_proto_def_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
include_guard(GLOBAL)
-function(CHECK_PROTOTYPE_DEFINITION _FUNCTION _PROTOTYPE _RETURN _HEADER _VARIABLE)
+function(check_prototype_definition _FUNCTION _PROTOTYPE _RETURN _HEADER _VARIABLE)
if (NOT DEFINED ${_VARIABLE})
set(CHECK_PROTOTYPE_DEFINITION_CONTENT "/* */\n")