Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-06-18 14:37:15


Author: troy
Date: 2007-06-18 14:37:15 EDT (Mon, 18 Jun 2007)
New Revision: 7092
URL: http://svn.boost.org/trac/boost/changeset/7092

Log:
Stop empty ARCH from causing error on windows.

Text files modified:
   sandbox-branches/boost-cmake/boost_1_34_0/DartConfig.cmake | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox-branches/boost-cmake/boost_1_34_0/DartConfig.cmake
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/DartConfig.cmake (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/DartConfig.cmake 2007-06-18 14:37:15 EDT (Mon, 18 Jun 2007)
@@ -43,9 +43,9 @@
   exec_program(uname ARGS -s OUTPUT_VARIABLE OSTYPE)
   exec_program(uname ARGS -r OUTPUT_VARIABLE OSVERSION)
   exec_program(uname ARGS -p OUTPUT_VARIABLE ARCH)
- if(${ARCH} STREQUAL "unknown")
+ if("${ARCH}" STREQUAL "unknown")
     exec_program(uname ARGS -m OUTPUT_VARIABLE ARCH)
- endif(${ARCH} STREQUAL "unknown")
+ endif("${ARCH}" STREQUAL "unknown")
   set(BUILDNAME ${OSTYPE}-${OSVERSION}/${ARCH}/gcc-${COMPILER_VERSION})
 else(UNIX)
   # improve me on Windows.... or is there nothing to improve.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk