summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Zehner <zehner.paul@jaxa.jp>2021-04-09 10:28:08 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-14 19:19:59 (GMT)
commitcc0d2004b208d893c20f243ed83391e344589226 (patch)
treeedb6aa395a92386506f1d33cd9443b77ee7fe24b
parentec78e86cc868ffb39f144dd1c2ae29552413f65d (diff)
downloadCMake-cc0d2004b208d893c20f243ed83391e344589226.zip
CMake-cc0d2004b208d893c20f243ed83391e344589226.tar.gz
CMake-cc0d2004b208d893c20f243ed83391e344589226.tar.bz2
Fujitsu: Fix C90 standard flags
Fix typos from commit 3c867cff4a (Fujitsu: Add support for the Fujitsu compiler in Trad mode, 2020-12-22).
-rw-r--r--Modules/Compiler/Fujitsu-C.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Compiler/Fujitsu-C.cmake b/Modules/Compiler/Fujitsu-C.cmake
index 0e0f1dc..dd31e43 100644
--- a/Modules/Compiler/Fujitsu-C.cmake
+++ b/Modules/Compiler/Fujitsu-C.cmake
@@ -4,9 +4,9 @@ include(Compiler/Fujitsu)
__compiler_fujitsu(C)
if(CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 4)
- set(CMAKE_C89_STANDARD_COMPILE_OPTION -std=c89)
- set(CMAKE_C89_EXTENSION_COMPILE_OPTION -std=gnu89)
- set(CMAKE_C89_STANDARD__HAS_FULL_SUPPORT ON)
+ set(CMAKE_C90_STANDARD_COMPILE_OPTION -std=c89)
+ set(CMAKE_C90_EXTENSION_COMPILE_OPTION -std=gnu89)
+ set(CMAKE_C90_STANDARD__HAS_FULL_SUPPORT ON)
set(CMAKE_C99_STANDARD_COMPILE_OPTION -std=c99)
set(CMAKE_C99_EXTENSION_COMPILE_OPTION -std=gnu99)