diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-21 14:10:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-21 14:10:28 (GMT) |
commit | 8b9d44d512f172116f28fb640b7cfb3e5bb8a4d8 (patch) | |
tree | af01fedd51ac48129384738dacf259f0af1570fd /Modules/CheckCSourceCompiles.cmake | |
parent | 129457c1e2556b40dc5793fec2b6a946cb48e49d (diff) | |
download | CMake-8b9d44d512f172116f28fb640b7cfb3e5bb8a4d8.zip CMake-8b9d44d512f172116f28fb640b7cfb3e5bb8a4d8.tar.gz CMake-8b9d44d512f172116f28fb640b7cfb3e5bb8a4d8.tar.bz2 |
ENH: fixs for check compile stuff from Oswald B.
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckCSourceCompiles.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index 21dc50e..c6ef220 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -41,7 +41,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR) "${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" OUTPUT_VARIABLE OUTPUT) IF(${VAR}) - SET(${VAR} 1 CACHE INTERNAL "Test ${FUNCTION}") + SET(${VAR} 1 CACHE INTERNAL "Test ${VAR}") MESSAGE(STATUS "Performing Test ${VAR} - Success") FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n" @@ -49,7 +49,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR) "Source file was:\n${SOURCE}\n") ELSE(${VAR}) MESSAGE(STATUS "Performing Test ${VAR} - Failed") - SET(${VAR} "" CACHE INTERNAL "Test ${FUNCTION}") + SET(${VAR} "" CACHE INTERNAL "Test ${VAR}") FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" |