Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52992 - branches/release/tools/build/CMake
From: dgregor_at_[hidden]
Date: 2009-05-14 10:22:40


Author: dgregor
Date: 2009-05-14 10:22:38 EDT (Thu, 14 May 2009)
New Revision: 52992
URL: http://svn.boost.org/trac/boost/changeset/52992

Log:
CMake: notice the linux platform as being distinct from the generic unix platform
Text files modified:
   branches/release/tools/build/CMake/BoostConfig.cmake | 2 ++
   1 files changed, 2 insertions(+), 0 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-05-14 10:22:38 EDT (Thu, 14 May 2009)
@@ -127,6 +127,8 @@
     set(BOOST_PLATFORM "mingw")
   elseif(CYGWIN)
     set(BOOST_PLATFORM "cygwin")
+ elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ set(BOOST_PLATFORM "linux")
   else()
     set(BOOST_PLATFORM "unix")
   endif()


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