|
Boost-Commit : |
From: troy_at_[hidden]
Date: 2007-05-26 07:33:08
Author: troy
Date: 2007-05-26 07:33:07 EDT (Sat, 26 May 2007)
New Revision: 4272
URL: http://svn.boost.org/trac/boost/changeset/4272
Log:
Take another stab at getting pthread/rt right.
Text files modified:
sandbox-branches/boost-cmake/boost_1_34_0/libs/config/test/CMakeLists.txt | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: sandbox-branches/boost-cmake/boost_1_34_0/libs/config/test/CMakeLists.txt
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/libs/config/test/CMakeLists.txt (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/libs/config/test/CMakeLists.txt 2007-05-26 07:33:07 EDT (Sat, 26 May 2007)
@@ -10,16 +10,15 @@
boost_test_run(config_info)
boost_test_run(math_info)
-# this should go in some factored-out toolset area (?)
-if(CMAKE_COMPILER_IS_GNUCC)
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
boost_test_run(config_test LIBRARIES pthread rt)
boost_test_run(has_clock_gettime_pass LIBRARIES pthread rt)
boost_test_run(has_pthread_ma_st_pass LIBRARIES pthread rt)
-elseif(CMAKE_COMPILER_IS_GNUCC)
+elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
boost_test_run(config_test)
boost_test_run(has_clock_gettime_pass)
boost_test_run(has_pthread_ma_st_pass)
-endif(CMAKE_COMPILER_IS_GNUCC)
+endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
boost_test_run(limits_test LIBRARIES boost_test_exec_monitor-static)
boost_test_run(abi_test SOURCES abi/abi_test.cpp abi/main.cpp)
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