Commit Graph

8 Commits

Author SHA1 Message Date
Roland Kaufmann
dba7c228ce Detect OS version when running on RHEL/CentOS 5.x
These versions only have /etc/redhat-release, not any of the newer
files.
2013-09-11 22:49:00 +02:00
Roland Kaufmann
cb111bc07b Report version of Mac OS X in configuration log
If we are building on Mac OS X, use the official operating system
version (e.g. 10.8) instead of the kernel version (e.g. 12.4).
2013-08-24 22:26:42 +02:00
Roland Kaufmann
49606fc925 Corrected mismatched if-else-endif arguments 2013-04-16 14:02:00 +02:00
Roland Kaufmann
f75090e876 Read /etc/system-release if others not parseable 2013-04-16 12:11:35 +02:00
Lars Vingli Odsæter
d2921faec8 Quote possibly empty variable to avoid error message
On RedHat 6.4 workstation the module doesn't find the necessary system
information, and gives an error message when the last parameter to the
string function is not present.
2013-04-16 12:01:57 +02:00
Roland Kaufmann
5a17857d7b Report target architecture compiling for 2013-04-07 13:03:08 +02:00
Roland Kaufmann
be7ad261d5 Probe various candidates for system release info
Not all Linux distributions is LSB-compliant, notably RHEL 6, so we
should make an effort to check various known other files in order to
identify the distribution.
2013-02-15 13:58:49 +01:00
Roland Kaufmann
b2520ab9cb Print CMake and OS version info to configuration log
Instead of asking the user which distribution it is, this will now be
visible from the log (which is included when uploading CTest runs)
2013-02-15 10:13:14 +01:00