summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-12 21:32:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-12 21:33:10 (GMT)
commita39d6f6bc3ac8a99969c8627cc9ce18a095366aa (patch)
tree0415d323cf186e1b458bfb81037139385060ed0e
parentf3702546521cbc09f1180365e9389a0eef87831b (diff)
parentf05d7ed5ffb00b4d146172e2fd29a988a534d99e (diff)
downloadCMake-a39d6f6bc3ac8a99969c8627cc9ce18a095366aa.zip
CMake-a39d6f6bc3ac8a99969c8627cc9ce18a095366aa.tar.gz
CMake-a39d6f6bc3ac8a99969c8627cc9ce18a095366aa.tar.bz2
Merge topic 'CheckPrototypeDefinition'
f05d7ed5ff Help: correct macro -> function in CheckPrototypeDefinition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2591
-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")