summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCSourceCompiles.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/CheckCSourceCompiles.cmake
parent1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff)
downloadCMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.zip
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.bz2
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r--Modules/CheckCSourceCompiles.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake
index 16dcada..a6fc692 100644
--- a/Modules/CheckCSourceCompiles.cmake
+++ b/Modules/CheckCSourceCompiles.cmake
@@ -20,13 +20,13 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR)
SET(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES
"-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}")
ENDIF(CMAKE_REQUIRED_INCLUDES)
- FILE(WRITE "${CMAKE_BINARY_DIR}/CMakeTmp/src.c"
+ FILE(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.c"
"${SOURCE}")
MESSAGE(STATUS "Performing Test ${VAR}")
TRY_COMPILE(${VAR}
${CMAKE_BINARY_DIR}
- ${CMAKE_BINARY_DIR}/CMakeTmp/src.c
+ ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.c
CMAKE_FLAGS
"${CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}"
"${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}"