diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 19:45:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 19:45:21 (GMT) |
commit | 1e3ddfeecf636a5337eb57bd9959f5d738eed184 (patch) | |
tree | 9d98773e9162e0e74055ce9b0a68d086cd508117 /Modules/CheckIncludeFileCXX.cmake | |
parent | 02d423b250a8922fbc43f3f4d55d4bf1a182759f (diff) | |
download | CMake-1e3ddfeecf636a5337eb57bd9959f5d738eed184.zip CMake-1e3ddfeecf636a5337eb57bd9959f5d738eed184.tar.gz CMake-1e3ddfeecf636a5337eb57bd9959f5d738eed184.tar.bz2 |
try to fix check for ansi stream
Diffstat (limited to 'Modules/CheckIncludeFileCXX.cmake')
-rw-r--r-- | Modules/CheckIncludeFileCXX.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake index 9af8add..265bbfc 100644 --- a/Modules/CheckIncludeFileCXX.cmake +++ b/Modules/CheckIncludeFileCXX.cmake @@ -7,6 +7,7 @@ # MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE) + MESSAGE(STATUS "Checking for CXX include file ${INCLUDE}") SET(CHECK_INCLUDE_FILE_VAR ${INCLUDE}) CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cxx.in ${PROJECT_BINARY_DIR}/CMakeTmp/CheckIncludeFile.cxx IMMEDIATE) @@ -16,8 +17,10 @@ MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE) CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_ANSI_CXXFLAGS} OUTPUT_VARIABLE OUTPUT) IF(${VARIABLE}) + MESSAGE(STATUS "Checking for CXX include file ${INCLUDE} -- found") SET(${VARIABLE} 1 CACHE INTERNAL "Have include ${INCLUDE}") ELSE(${VARIABLE}) + MESSAGE(STATUS "Checking for CXX include file ${INCLUDE} -- not found") SET(${VARIABLE} "" CACHE INTERNAL "Have include ${INCLUDE}") WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log "Determining if the include file ${INCLUDE} " |