Split cmake thread detection into core thread and thread_mpi.
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 26 May 2013 09:45:47 +0000 (12:45 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 4 Jun 2013 09:27:08 +0000 (11:27 +0200)
commit370292079818dd600b3a8a6edaf37cf75a256e2b
tree51798993f67defec7abf5edfd4ba795792442ad5
parent00dc758fa0e178b0c86cdae5bde47191348106ec
Split cmake thread detection into core thread and thread_mpi.

This makes it possible to use core threading facilities
(mutex/cond-var/affinity, etc) on builds that don't use thread_mpi.

Change-Id: I0f0f43e86da642c4645fd7ac3c4796098cf9cd5e
CMakeLists.txt
cmake/ThreadMPI.cmake