The test for HAVE_CXX11_REGEX fails since it doesn't use any -std=c++11 flag.
commit673420a406383ff0291b9c1133de9011f8f7bcd9
authorAke Sandgren <ake.sandgren@hpc2n.umu.se>
Wed, 18 Feb 2015 12:58:21 +0000 (18 13:58 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 24 Feb 2015 15:53:39 +0000 (24 16:53 +0100)
tree052d24c5bff8496cb7c27b29139aef12aa8fb0ae
parent57cf263f38d38bbd2a6cb64bb39d9cc630880b82
The test for HAVE_CXX11_REGEX fails since it doesn't use any -std=c++11 flag.

Moving the test for HAVE_CXX11_REGEX after the gmx_test_cxx11 test makes
this work (if the fix for #1691 is in place)

Fixes #1692

Change-Id: Ic86c17d970c464d6fa287de7bec5fc7616871087
CMakeLists.txt