summaryrefslogtreecommitdiff
path: root/Modules/Compiler/GNU-C.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-10 16:39:53 -0400
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-30 09:34:36 -0400
commit9b112a848a2063c81fe758984351d765e712a2bc (patch)
tree6a7021a51fe474418e1e132de7b58095d7936e74 /Modules/Compiler/GNU-C.cmake
parent37221529c7d032599cd7f8a4bb6778a55b8bc5a8 (diff)
downloadcmake-9b112a848a2063c81fe758984351d765e712a2bc.tar.gz
Compilers: Port to use default cmake_record_lang_compile_features macros
Diffstat (limited to 'Modules/Compiler/GNU-C.cmake')
-rw-r--r--Modules/Compiler/GNU-C.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/Modules/Compiler/GNU-C.cmake b/Modules/Compiler/GNU-C.cmake
index 8090fa69fc..f072c546a3 100644
--- a/Modules/Compiler/GNU-C.cmake
+++ b/Modules/Compiler/GNU-C.cmake
@@ -23,18 +23,3 @@ elseif (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.6)
endif()
__compiler_check_default_language_standard(C 3.4 90 5.0 11)
-
-macro(cmake_record_c_compile_features)
- set(_result 0)
- if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.4)
- if(_result EQUAL 0 AND CMAKE_C11_STANDARD_COMPILE_OPTION)
- _record_compiler_features_c(11)
- endif()
- if (_result EQUAL 0)
- _record_compiler_features_c(99)
- endif()
- if (_result EQUAL 0)
- _record_compiler_features_c(90)
- endif()
- endif()
-endmacro()