diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-08 17:12:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-08 17:12:15 (GMT) |
commit | 4d6dba4c37928026b577870e93128e55cd16a24f (patch) | |
tree | accd0180545ce70a9491bdf54bda9c0cdfe54e22 /Modules/CheckIncludeFileCXX.cmake | |
parent | 8b1d032b7beb96ba7931939bda46eb70a8434310 (diff) | |
download | CMake-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.cmake | 1 |
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") |