summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestCCompiler.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-01-12 18:49:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-01-12 18:49:32 (GMT)
commit4bdca3b404d5fafe89779ea5cd1dce50018afbcc (patch)
treec06fe6709bb531b4bac5f2dc23a25bf6a338cd65 /Modules/CMakeTestCCompiler.cmake
parent1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff)
downloadCMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.zip
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.bz2
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r--Modules/CMakeTestCCompiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake
index a1c77a8..baf32df 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)