From ccb9b9cda8276ec52f0fae811195e4218a2e95ee Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 12 Nov 2002 19:39:08 -0500 Subject: [PATCH] BUG: Fixed doc string on generated variable. --- Modules/CheckFunctionExists.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake index 4fddf4a76..b39e88db6 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)