Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53969 - branches/release/tools/build/CMake
From: dgregor_at_[hidden]
Date: 2009-06-16 01:16:29


Author: dgregor
Date: 2009-06-16 01:16:29 EDT (Tue, 16 Jun 2009)
New Revision: 53969
URL: http://svn.boost.org/trac/boost/changeset/53969

Log:
CMake: BOOST_PLATFORM fix, from Zach Laine
Text files modified:
   branches/release/tools/build/CMake/BoostConfig.cmake | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: branches/release/tools/build/CMake/BoostConfig.cmake
==============================================================================
--- branches/release/tools/build/CMake/BoostConfig.cmake (original)
+++ branches/release/tools/build/CMake/BoostConfig.cmake 2009-06-16 01:16:29 EDT (Tue, 16 Jun 2009)
@@ -102,7 +102,7 @@
 message(STATUS "Boost toolset: ${BOOST_TOOLSET}")
 
 # create cache entry
-set(BOOST_PLATFORM "unknown" CACHE STRING "Boost platform name")
+set(BOOST_PLATFORM "unknown")
 
 # Multi-threading support
 if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
@@ -150,6 +150,9 @@
   set(BOOST_PLATFORM "unknown")
 endif()
 
+# create cache entry
+set(BOOST_PLATFORM ${BOOST_PLATFORM} CACHE STRING "Boost platform name")
+
 message(STATUS "Boost platform: ${BOOST_PLATFORM}")
 
 # Setup DEBUG_COMPILE_FLAGS, RELEASE_COMPILE_FLAGS, DEBUG_LINK_FLAGS and


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