diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-01-12 13:49:32 -0500 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-01-12 13:49:32 -0500 |
commit | 4bdca3b404d5fafe89779ea5cd1dce50018afbcc (patch) | |
tree | c06fe6709bb531b4bac5f2dc23a25bf6a338cd65 /Modules/CMakeTestCCompiler.cmake | |
parent | 1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff) | |
download | cmake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz |
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index a1c77a8da4..baf32df9c1 100644 --- a/Modules/CMakeTestCCompiler.cmake +++ b/Modules/CMakeTestCCompiler.cmake @@ -6,13 +6,13 @@ # any makefiles or projects. IF(NOT CMAKE_C_COMPILER_WORKS) MESSAGE(STATUS "Check for working C compiler: ${CMAKE_C_COMPILER}") - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/testCCompiler.c + FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/testCCompiler.c "#ifdef __cplusplus\n" "# error \"The CMAKE_C_COMPILER is set to a C++ compiler\"\n" "#endif\n" "int main(){return 0;}\n") TRY_COMPILE(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR} - ${CMAKE_BINARY_DIR}/CMakeTmp/testCCompiler.c + ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/testCCompiler.c OUTPUT_VARIABLE OUTPUT) SET(C_TEST_WAS_RUN 1) ENDIF(NOT CMAKE_C_COMPILER_WORKS) |