summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-21 20:57:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-02-21 20:57:02 (GMT)
commit6c6c2664394d9542cf611b7941c0f45cffd1e108 (patch)
tree7c40ee499ac03b530014d4f874afee9b6bbcca9a
parent09c16ca4883db2fff9b3138e348db6bd0560c4cb (diff)
parent54e1f6f5a572e47c5598fd53e3b9eb0a66739def (diff)
downloadCMake-6c6c2664394d9542cf611b7941c0f45cffd1e108.zip
CMake-6c6c2664394d9542cf611b7941c0f45cffd1e108.tar.gz
CMake-6c6c2664394d9542cf611b7941c0f45cffd1e108.tar.bz2
Merge topic 'GenerateExportHeader_MinorFix'
54e1f6f GenerateExportHeader: use double quotes around _gcc_version
-rw-r--r--Modules/GenerateExportHeader.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 781b6e7..f3f61f6 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -173,7 +173,7 @@ macro(_test_compiler_hidden_visibility)
_gcc_version "${_gcc_version_info}")
endif()
- if(${_gcc_version} VERSION_LESS "4.2")
+ if("${_gcc_version}" VERSION_LESS "4.2")
set(GCC_TOO_OLD TRUE)
message(WARNING "GCC version older than 4.2")
endif()