summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFunctionExists.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-11-13 00:39:08 (GMT)
committerBrad King <brad.king@kitware.com>2002-11-13 00:39:08 (GMT)
commitccb9b9cda8276ec52f0fae811195e4218a2e95ee (patch)
tree5ce94753370d8dafde9b40b770b67926b5ed7baa /Modules/CheckFunctionExists.cmake
parent83d273334a9a5643ecc59d37601295bd62ed1fb8 (diff)
downloadCMake-ccb9b9cda8276ec52f0fae811195e4218a2e95ee.zip
CMake-ccb9b9cda8276ec52f0fae811195e4218a2e95ee.tar.gz
CMake-ccb9b9cda8276ec52f0fae811195e4218a2e95ee.tar.bz2
BUG: Fixed doc string on generated variable.
Diffstat (limited to 'Modules/CheckFunctionExists.cmake')
-rw-r--r--Modules/CheckFunctionExists.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake
index 4fddf4a..b39e88d 100644
--- a/Modules/CheckFunctionExists.cmake
+++ b/Modules/CheckFunctionExists.cmake
@@ -14,9 +14,9 @@ MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE)
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
OUTPUT_VARIABLE OUTPUT)
IF(${VARIABLE})
- SET(${VARIABLE} 1 CACHE INTERNAL "Have function ${LIBRARY}")
+ SET(${VARIABLE} 1 CACHE INTERNAL "Have function ${FUNCTION}")
ELSE(${VARIABLE})
- SET(${VARIABLE} "" CACHE INTERNAL "Have function ${LIBRARY}")
+ SET(${VARIABLE} "" CACHE INTERNAL "Have function ${FUNCTION}")
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
"Determining if the function ${FUNCTION} exists failed with the following output:\n"
"${OUTPUT}\n" APPEND)