Platform: Windows.
Compiler: MSVC 8.0 SP1

Boost.Cmake unable to configure iostreams with zlib (or bzip2). I've ZLIB_SOURCE env variable set to the location of zlib source code. 

I've also set ZLIB_INCLUDE_DIR and ZLIB_LIB_DIR in cmake-gui but it is not working. I'm getting the following errors. There are similar errors for Bzip2 as well.


CMake Error at tools/build/CMake/BoostCore.cmake:1184 (parse_arguments):

Syntax error in cmake code at

C:/Documents and Settings/sgullapa/My Documents/Downloads/boost-1.41.0.cmake0/tools/build/CMake/BoostDocs.cmake:1187

when parsing string

file_descriptor.cpp;mapped_file.cpp;zlib.cpp;gzip.cpp;LINK_LIBS;E:\Software\zlib-1.2.3;SHARED_COMPILE_FLAGS;-DBOOST_IOSTREAMS_DYN_LINK=1

Invalid escape sequence \S

Call Stack (most recent call first):

libs/iostreams/src/CMakeLists.txt:27 (boost_add_library)