diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-23 08:46:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-07 12:00:00 (GMT) |
commit | 36ed5894840f40f6859710d44be607c929e5d38c (patch) | |
tree | 9f597a5e579019f0aceb78cb3ed0b6003e3b33cd /Modules/CMakeDetermineCompilerId.cmake | |
parent | 9a083bce83cfa31192ad34ba504454f8087c4fce (diff) | |
download | CMake-36ed5894840f40f6859710d44be607c929e5d38c.zip CMake-36ed5894840f40f6859710d44be607c929e5d38c.tar.gz CMake-36ed5894840f40f6859710d44be607c929e5d38c.tar.bz2 |
CompilerId: Allow specifying the compiler-specific components to generate.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index 94c2e50..712b748 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -105,7 +105,10 @@ function(CMAKE_DETERMINE_COMPILER_ID_WRITE lang src) find_file(src_in ${src}.in PATHS ${CMAKE_ROOT}/Modules ${CMAKE_MODULE_PATH} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) file(READ ${src_in} ID_CONTENT_IN) - compiler_id_detection(CMAKE_${lang}_COMPILER_ID_CONTENT ${lang}) + compiler_id_detection(CMAKE_${lang}_COMPILER_ID_CONTENT ${lang} + ID_STRING + VERSION_STRINGS + ) unset(src_in CACHE) string(CONFIGURE "${ID_CONTENT_IN}" ID_CONTENT_OUT @ONLY) |