summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorPaul Zehner <zehner.paul@jaxa.jp>2021-04-09 10:25:53 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-14 19:18:24 (GMT)
commitec78e86cc868ffb39f144dd1c2ae29552413f65d (patch)
tree118cf70462aba947ea6db78b361f3bad8cec2483 /Modules/CMakeDetermineCompilerId.cmake
parenteb62097dec525ade99299697365d9e129455ddaf (diff)
downloadCMake-ec78e86cc868ffb39f144dd1c2ae29552413f65d.zip
CMake-ec78e86cc868ffb39f144dd1c2ae29552413f65d.tar.gz
CMake-ec78e86cc868ffb39f144dd1c2ae29552413f65d.tar.bz2
FujitsuClang: Use GNU-like command-line
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index d7b7f26..519fe6b 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -223,6 +223,8 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
else()
set(CMAKE_${lang}_COMPILER_FRONTEND_VARIANT "GNU")
endif()
+ elseif("x${CMAKE_${lang}_COMPILER_ID}" STREQUAL "xFujitsuClang")
+ set(CMAKE_${lang}_COMPILER_FRONTEND_VARIANT "GNU")
else()
set(CMAKE_${lang}_COMPILER_FRONTEND_VARIANT "")
endif()