BUG: Need to invert test result for ansi string stream.
This commit is contained in:
parent
8e03931414
commit
1d719af47b
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue