summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysPlatformCxxTests.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-26 13:19:36 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-26 13:19:36 (GMT)
commit098c33c4dae7e18bed03d63c062401dcb8031c03 (patch)
tree34e0f1aa49426f54665e3e61582fe6b579ced47a /Source/kwsys/kwsysPlatformCxxTests.cmake
parent8c62539cabc5016a23e918748ea4be30b142d97e (diff)
downloadCMake-098c33c4dae7e18bed03d63c062401dcb8031c03.zip
CMake-098c33c4dae7e18bed03d63c062401dcb8031c03.tar.gz
CMake-098c33c4dae7e18bed03d63c062401dcb8031c03.tar.bz2
ENH: Added istream and ostream operators for stl string 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