summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIncludeFileCXX.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-08 17:12:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-08 17:12:15 (GMT)
commit4d6dba4c37928026b577870e93128e55cd16a24f (patch)
treeaccd0180545ce70a9491bdf54bda9c0cdfe54e22 /Modules/CheckIncludeFileCXX.cmake
parent8b1d032b7beb96ba7931939bda46eb70a8434310 (diff)
downloadCMake-4d6dba4c37928026b577870e93128e55cd16a24f.zip
CMake-4d6dba4c37928026b577870e93128e55cd16a24f.tar.gz
CMake-4d6dba4c37928026b577870e93128e55cd16a24f.tar.bz2
ENH: only force the use of ansi flags in backwards mode
Diffstat (limited to 'Modules/CheckIncludeFileCXX.cmake')
-rw-r--r--Modules/CheckIncludeFileCXX.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake
index 75ab187..f8d7401 100644
--- a/Modules/CheckIncludeFileCXX.cmake
+++ b/Modules/CheckIncludeFileCXX.cmake
@@ -15,7 +15,6 @@ MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
TRY_COMPILE(${VARIABLE}
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/CMakeTmp/CheckIncludeFile.cxx
- CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_ANSI_CXXFLAGS}
OUTPUT_VARIABLE OUTPUT)
IF(${VARIABLE})
MESSAGE(STATUS "Checking for CXX include file ${INCLUDE} -- found")