summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-23 10:10:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-07 12:00:00 (GMT)
commit23f451bb33c384d19ec29934b2811e081ff3e685 (patch)
tree3f4630f6bd0868b88b8dc19a81557d5d8e2caaf0 /Modules/CMakeDetermineCompilerId.cmake
parent30a99f5c063d1d66a40b57554a7beec5d8fbf54c (diff)
downloadCMake-23f451bb33c384d19ec29934b2811e081ff3e685.zip
CMake-23f451bb33c384d19ec29934b2811e081ff3e685.tar.gz
CMake-23f451bb33c384d19ec29934b2811e081ff3e685.tar.bz2
CompilerId: Guard the platform-default compiler code with a parameter.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index 712b748..025d296 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -108,6 +108,7 @@ function(CMAKE_DETERMINE_COMPILER_ID_WRITE lang src)
compiler_id_detection(CMAKE_${lang}_COMPILER_ID_CONTENT ${lang}
ID_STRING
VERSION_STRINGS
+ PLATFORM_DEFAULT_COMPILER
)
unset(src_in CACHE)