use the compiler version provided by CMake >=2.8.9
authorSzilárd Páll <pszilard@cbr.su.se>
Thu, 17 Jan 2013 05:43:53 +0000 (06:43 +0100)
committerSzilárd Páll <pszilard@cbr.su.se>
Thu, 17 Jan 2013 05:48:12 +0000 (06:48 +0100)
commitf8885a64aa8efb3840ad690ba3b7ae28e90d71c2
tree65c1da3c00058c2b2cd920487b7b82d877436fa9
parente508a07b6e127fa1cf31d263bcbd33e4040066cb
use the compiler version provided by CMake >=2.8.9

With CMake <2.8.9 we still use our slightly naive compiler version
detection code, but from 2.8.9 CMake provides a compiler version
variable which should be more robust and portable, so we will use that
instead.

Change-Id: I3cefa227c4962d9a2fae06af2c5b2a0d22ef30c4
cmake/gmxGetCompilerInfo.cmake