Merge topic 'GenerateExportHeader_MinorFix'

54e1f6f GenerateExportHeader: use double quotes around _gcc_version
This commit is contained in:
David Cole 2012-02-21 15:57:02 -05:00 committed by CMake Topic Stage
commit 6c6c266439
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ macro(_test_compiler_hidden_visibility)
_gcc_version "${_gcc_version_info}") _gcc_version "${_gcc_version_info}")
endif() endif()
if(${_gcc_version} VERSION_LESS "4.2") if("${_gcc_version}" VERSION_LESS "4.2")
set(GCC_TOO_OLD TRUE) set(GCC_TOO_OLD TRUE)
message(WARNING "GCC version older than 4.2") message(WARNING "GCC version older than 4.2")
endif() endif()