summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerIdDetection.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-01 13:51:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-01 13:51:50 (GMT)
commit9a5fe96f4fb8b5fbc39f8a01a388cf428ffaed32 (patch)
tree511d1ed91d4a19c9ed0ff4a2ceeb49d3b897e608 /Modules/CMakeCompilerIdDetection.cmake
parent2f59cd637181cd246ab700767ea3e3cbd6cc3df4 (diff)
parente21bae378d54b24f695080d05d55a9cfc6858877 (diff)
downloadCMake-9a5fe96f4fb8b5fbc39f8a01a388cf428ffaed32.zip
CMake-9a5fe96f4fb8b5fbc39f8a01a388cf428ffaed32.tar.gz
CMake-9a5fe96f4fb8b5fbc39f8a01a388cf428ffaed32.tar.bz2
Merge topic 'drop-MIPSpro'
e21bae378d WCDH: Restore definition for <prefix>_COMPILER_IS_MIPSpro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3043
Diffstat (limited to 'Modules/CMakeCompilerIdDetection.cmake')
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index 96a14f7..7aac846 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -97,6 +97,8 @@ function(compiler_id_detection outvar lang)
foreach(Id ${ordered_compilers})
string(APPEND CMAKE_${lang}_COMPILER_ID_CONTENT "# define ${CID_PREFIX}COMPILER_IS_${Id} 0\n")
endforeach()
+ # Hard-code definitions for compilers that are no longer supported.
+ string(APPEND CMAKE_${lang}_COMPILER_ID_CONTENT "# define ${CID_PREFIX}COMPILER_IS_MIPSpro 0\n")
endif()
set(pp_if "#if")