|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53968 - trunk/tools/build/CMake
From: dgregor_at_[hidden]
Date: 2009-06-16 01:16:20
Author: dgregor
Date: 2009-06-16 01:16:20 EDT (Tue, 16 Jun 2009)
New Revision: 53968
URL: http://svn.boost.org/trac/boost/changeset/53968
Log:
CMake: BOOST_PLATFORM fix, from Zach Laine
Text files modified:
trunk/tools/build/CMake/BoostConfig.cmake | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/CMake/BoostConfig.cmake
==============================================================================
--- trunk/tools/build/CMake/BoostConfig.cmake (original)
+++ trunk/tools/build/CMake/BoostConfig.cmake 2009-06-16 01:16:20 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