fix OpenMP detection on Mac OS broken by a6fee0b
authorSzilárd Páll <pszilard@cbr.su.se>
Thu, 17 Jan 2013 02:36:08 +0000 (03:36 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 18 Jan 2013 03:16:00 +0000 (04:16 +0100)
commit714960e2942e7e8554acade18b46ba7674affd66
treeb94310eb1fd64897984a074d80fba9bfed44333d
parent7b65a31f3a543a802f590244c37b75a348bcdf0d
fix OpenMP detection on Mac OS broken by a6fee0b

Compiler version check was done before the version got detected. This
code will avoid false positives even if the compiler version is not
available (although for GNUCC it should always be).

Change-Id: I554f13e4b101ae7c9f70674e966065bf9fcf2b27
CMakeLists.txt