Browse Source

Merge topic 'fujitsu-compiler-id'

0578c283 Add Fujitsu compiler detection
Brad King 11 years ago
parent
commit
e01cb16cdb

+ 1 - 0
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

+ 2 - 0
Modules/Compiler/Fujitsu-DetermineCompiler.cmake

@@ -0,0 +1,2 @@
+
+set(_compiler_id_pp_test "defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)")