diff options
author | Brad King <brad.king@kitware.com> | 2003-05-08 20:48:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-05-08 20:48:13 (GMT) |
commit | 1d719af47b549145384fca50372f81553a8f5177 (patch) | |
tree | cee11968e1d085139b66cd989f81910f6ab2c243 | |
parent | 8e039314149cc72645d00552e80c90c270788ccb (diff) | |
download | CMake-1d719af47b549145384fca50372f81553a8f5177.zip CMake-1d719af47b549145384fca50372f81553a8f5177.tar.gz CMake-1d719af47b549145384fca50372f81553a8f5177.tar.bz2 |
BUG: Need to invert test result for ansi string stream.
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 6b3cbf6..cdd7353 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -10,6 +10,10 @@ INCLUDE(${CMAKE_ROOT}/Modules/TestForSTDNamespace.cmake) INCLUDE(${CMAKE_ROOT}/Modules/TestForANSIForScope.cmake) CHECK_INCLUDE_FILE_CXX("sstream" CMAKE_HAS_ANSI_STRING_STREAM) +IF(NOT CMAKE_HAS_ANSI_STRING_STREAM) + SET(CMAKE_NO_ANSI_STRING_STREAM 1) +ENDIF(NOT CMAKE_HAS_ANSI_STRING_STREAM) + SET(KWSYS_NO_STD_NAMESPACE ${CMAKE_NO_STD_NAMESPACE}) SET(KWSYS_NO_ANSI_STREAM_HEADERS ${CMAKE_NO_ANSI_STREAM_HEADERS}) SET(KWSYS_NO_ANSI_STRING_STREAM ${CMAKE_NO_ANSI_STRING_STREAM}) |