|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49684 - trunk/libs/mpi/test
From: mike.jackson_at_[hidden]
Date: 2008-11-11 09:19:42
Author: imikejackson
Date: 2008-11-11 09:19:42 EST (Tue, 11 Nov 2008)
New Revision: 49684
URL: http://svn.boost.org/trac/boost/changeset/49684
Log:
Adding conditional compilation based on if MPI is found
Text files modified:
trunk/libs/mpi/test/CMakeLists.txt | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/libs/mpi/test/CMakeLists.txt
==============================================================================
--- trunk/libs/mpi/test/CMakeLists.txt (original)
+++ trunk/libs/mpi/test/CMakeLists.txt 2008-11-11 09:19:42 EST (Tue, 11 Nov 2008)
@@ -1,3 +1,6 @@
+if (MPI_FOUND)
+message(STATUS "MPI Found")
+
boost_additional_test_dependencies(mpi BOOST_DEPENDS test )
include_directories(${MPI_INCLUDE_PATH})
@@ -63,3 +66,6 @@
boost_mpi_test(scan_test)
boost_mpi_test(scatter_test)
boost_mpi_test(skeleton_content_test SCHEDULE 2 3 4 7 8 13 17)
+
+
+endif (MPI_FOUND)
\ No newline at end of file
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