Change the compiler detection in AboutThisBuild.txt (not gcc specific anymore).

See issue 1441.
This commit is contained in:
Philip Rinn
2012-06-27 19:49:06 +02:00
parent 3819da3726
commit 75be02bd39
3 changed files with 17 additions and 6 deletions

View File

@@ -1,6 +1,4 @@
# cmakefile executed within a makefile target
# there should be a better way of getting the compiler + compiler version, not restrained to Gcc
execute_process(COMMAND gcc -dumpversion OUTPUT_VARIABLE GCC_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
# If we find ReleaseInfo.cmake we use the info from there and don't need Mercurial to be installed
find_file(REL_INFO_FILE ReleaseInfo.cmake PATHS "${PROJECT_SOURCE_DIR}" NO_DEFAULT_PATH)