Detect non-fatal warnings when trying CFlags for source
authorErik Lindahl <erik@kth.se>
Thu, 12 Jun 2014 08:30:44 +0000 (10:30 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 23 Jun 2014 15:27:12 +0000 (17:27 +0200)
commit964b797d2c3a4cfe4b36be8c4627af04843b886c
tree6a58f866eaaeb447f5671ddac501dff8eecde030
parentc72006a0e42927e0c48a9e47c7beea10aa07468a
Detect non-fatal warnings when trying CFlags for source

We now first check the flag itself (and catch warnings),
after which we check if our SIMD source compiles with it.

Fixes #1461.

Change-Id: Ic6ae99f62c5657195a59dc83ab08399d3491249a
cmake/gmxFindFlagsForSource.cmake