diff options
author | Paul Zehner <zehner.paul@jaxa.jp> | 2021-04-09 19:25:53 +0900 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-14 15:18:24 -0400 |
commit | ec78e86cc868ffb39f144dd1c2ae29552413f65d (patch) | |
tree | 118cf70462aba947ea6db78b361f3bad8cec2483 /Modules | |
parent | eb62097dec525ade99299697365d9e129455ddaf (diff) | |
download | cmake-ec78e86cc868ffb39f144dd1c2ae29552413f65d.tar.gz |
FujitsuClang: Use GNU-like command-line
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index d7b7f26d16..519fe6baa3 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() |