summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIncludeFileCXX.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/CheckIncludeFileCXX.cmake
parent1fd9060406e9c40ac5b3a8baf0ee7365d2e353fc (diff)
downloadCMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.zip
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.gz
CMake-4bdca3b404d5fafe89779ea5cd1dce50018afbcc.tar.bz2
ENH: put CmakeTmp into CMakeFiles
Diffstat (limited to 'Modules/CheckIncludeFileCXX.cmake')
-rw-r--r--Modules/CheckIncludeFileCXX.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake
index 588f30b..f165b48 100644
--- a/Modules/CheckIncludeFileCXX.cmake
+++ b/Modules/CheckIncludeFileCXX.cmake
@@ -12,7 +12,7 @@ MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
SET(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS})
SET(CHECK_INCLUDE_FILE_VAR ${INCLUDE})
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cxx.in
- ${CMAKE_BINARY_DIR}/CMakeTmp/CheckIncludeFile.cxx IMMEDIATE)
+ ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx IMMEDIATE)
MESSAGE(STATUS "Looking for C++ include ${INCLUDE}")
IF(${ARGC} EQUAL 3)
SET(CMAKE_CXX_FLAGS_SAVE ${CMAKE_CXX_FLAGS})
@@ -21,7 +21,7 @@ MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
TRY_COMPILE(${VARIABLE}
${CMAKE_BINARY_DIR}
- ${CMAKE_BINARY_DIR}/CMakeTmp/CheckIncludeFile.cxx
+ ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
CMAKE_FLAGS
-DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_INCLUDE_FILE_FLAGS}
OUTPUT_VARIABLE OUTPUT)