summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerIdDetection.cmake
diff options
context:
space:
mode:
authorErik Lindahl <erik@kth.se>2014-08-10 20:55:44 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-11 14:31:06 (GMT)
commit0578c283e88c40957c7f43c653dd8c75d8c7782e (patch)
treeb73d42e4c2d88c555c4460de70122dbb547b54fc /Modules/CMakeCompilerIdDetection.cmake
parentffc1935a73267cfe74e5d5492c9621ccf6c66112 (diff)
downloadCMake-0578c283e88c40957c7f43c653dd8c75d8c7782e.zip
CMake-0578c283e88c40957c7f43c653dd8c75d8c7782e.tar.gz
CMake-0578c283e88c40957c7f43c653dd8c75d8c7782e.tar.bz2
Add Fujitsu compiler detection
The Fujitsu C/C++ compilers are the default ones for K computer. Detect both native and cross compilers by looking for the __FUJITSU preprocessor definition.
Diffstat (limited to 'Modules/CMakeCompilerIdDetection.cmake')
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index e247885..19bcbcc 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -74,6 +74,7 @@ function(compiler_id_detection outvar lang)
PGI
Cray
TI
+ Fujitsu
)
if (lang STREQUAL C)
list(APPEND ordered_compilers