summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysPlatformCxxTests.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-29 13:20:08 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-29 13:20:08 (GMT)
commit22f6d68be3e6630b21bb17de63273965de44ee45 (patch)
tree8225f2a9c0bb6fb085e482bc04f44bfb7e7a8e5d /Source/kwsys/kwsysPlatformCxxTests.cmake
parentc7a2c80c178457b4d8a1525a6b0ccff9ca4e5afa (diff)
downloadCMake-22f6d68be3e6630b21bb17de63273965de44ee45.zip
CMake-22f6d68be3e6630b21bb17de63273965de44ee45.tar.gz
CMake-22f6d68be3e6630b21bb17de63273965de44ee45.tar.bz2
ENH: Added istream and ostream operators for stl string in KWSys when using old streams that do not provide them.
Diffstat (limited to 'Source/kwsys/kwsysPlatformCxxTests.cmake')
-rw-r--r--Source/kwsys/kwsysPlatformCxxTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cmake b/Source/kwsys/kwsysPlatformCxxTests.cmake
index 1b5b98a..b3004ca 100644
--- a/Source/kwsys/kwsysPlatformCxxTests.cmake
+++ b/Source/kwsys/kwsysPlatformCxxTests.cmake
@@ -4,7 +4,7 @@ MACRO(KWSYS_PLATFORM_CXX_TEST var description invert)
TRY_COMPILE(${var}_COMPILED
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/kwsysPlatformCxxTests.cxx
- COMPILE_DEFINITIONS -DTEST_${var}
+ COMPILE_DEFINITIONS -DTEST_${var} ${KWSYS_PLATFORM_CXX_TEST_DEFINES}
OUTPUT_VARIABLE OUTPUT)
IF(${var}_COMPILED)
WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeOutput.log