BUG: Fixed doc string on generated variable.

This commit is contained in:
Brad King 2002-11-12 19:39:08 -05:00
parent 83d273334a
commit ccb9b9cda8
1 changed files with 2 additions and 2 deletions

View File

@ -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)