summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/SunPro-C.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-03-25 19:07:07 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2019-03-27 19:45:11 (GMT)
commit983533a4b8cc3abbeaf11c1cadad4e14dccc5824 (patch)
tree4602652395eee15ab0e9cdee8d7f5f4802ca3dcb /Modules/Compiler/SunPro-C.cmake
parentf92ccbc306c20554af35709faf00f402a6c34978 (diff)
downloadCMake-983533a4b8cc3abbeaf11c1cadad4e14dccc5824.zip
CMake-983533a4b8cc3abbeaf11c1cadad4e14dccc5824.tar.gz
CMake-983533a4b8cc3abbeaf11c1cadad4e14dccc5824.tar.bz2
Record when C compilers have gained full support for 90,99,11
Diffstat (limited to 'Modules/Compiler/SunPro-C.cmake')
-rw-r--r--Modules/Compiler/SunPro-C.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro-C.cmake b/Modules/Compiler/SunPro-C.cmake
index c4aba8e..7e962b8 100644
--- a/Modules/Compiler/SunPro-C.cmake
+++ b/Modules/Compiler/SunPro-C.cmake
@@ -39,10 +39,13 @@ set(CMAKE_C_LINKER_WRAPPER_FLAG_SEP ",")
if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 5.13)
set(CMAKE_C90_STANDARD_COMPILE_OPTION "-std=c89")
set(CMAKE_C90_EXTENSION_COMPILE_OPTION "-std=c89")
+ set(CMAKE_C90_STANDARD__HAS_FULL_SUPPORT ON)
set(CMAKE_C99_STANDARD_COMPILE_OPTION "-std=c99")
set(CMAKE_C99_EXTENSION_COMPILE_OPTION "-std=c99")
+ set(CMAKE_C99_STANDARD__HAS_FULL_SUPPORT ON)
set(CMAKE_C11_STANDARD_COMPILE_OPTION "-std=c11")
set(CMAKE_C11_EXTENSION_COMPILE_OPTION "-std=c11")
+ set(CMAKE_C11_STANDARD__HAS_FULL_SUPPORT ON)
elseif (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 5.11)
set(CMAKE_C90_STANDARD_COMPILE_OPTION "")
set(CMAKE_C90_EXTENSION_COMPILE_OPTION "")