diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-24 17:07:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-24 17:07:45 (GMT) |
commit | f95310c3a94b520e8138a6d61178a5ac46b0564e (patch) | |
tree | 1dc50a508353b7ff2ecd9c8f216e4b9e29659ce5 /Modules/CheckCXXSourceCompiles.cmake | |
parent | a2c17773006e44dbfd3c4e95484e7192e7b285d4 (diff) | |
download | CMake-f95310c3a94b520e8138a6d61178a5ac46b0564e.zip CMake-f95310c3a94b520e8138a6d61178a5ac46b0564e.tar.gz CMake-f95310c3a94b520e8138a6d61178a5ac46b0564e.tar.bz2 |
ENH: fix bug, write the correct file
Diffstat (limited to 'Modules/CheckCXXSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckCXXSourceCompiles.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake index 9c59050..871208e 100644 --- a/Modules/CheckCXXSourceCompiles.cmake +++ b/Modules/CheckCXXSourceCompiles.cmake @@ -20,7 +20,7 @@ MACRO(CHECK_CXX_SOURCE_COMPILES SOURCE VAR) SET(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") ENDIF(CMAKE_REQUIRED_INCLUDES) - FILE(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.c" + FILE(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.cxx" "${SOURCE}") MESSAGE(STATUS "Performing Test ${VAR}") |