diff options
author | Paul Zehner <zehner.paul@jaxa.jp> | 2021-04-09 10:25:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-14 19:18:24 (GMT) |
commit | ec78e86cc868ffb39f144dd1c2ae29552413f65d (patch) | |
tree | 118cf70462aba947ea6db78b361f3bad8cec2483 /Modules/CMakeDetermineCompilerId.cmake | |
parent | eb62097dec525ade99299697365d9e129455ddaf (diff) | |
download | CMake-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.cmake | 2 |
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() |