diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-11-12 21:53:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-11-12 21:59:14 (GMT) |
commit | b18155b7885705f794af5025173b2d1e45154d67 (patch) | |
tree | 981d97cb9e377066d9b2605c01b1bb67cf685129 /Modules/Compiler | |
parent | e68d5c6000e25d837079c673316d9deeba3b8913 (diff) | |
download | CMake-b18155b7885705f794af5025173b2d1e45154d67.zip CMake-b18155b7885705f794af5025173b2d1e45154d67.tar.gz CMake-b18155b7885705f794af5025173b2d1e45154d67.tar.bz2 |
Features: Reorder the GNU C dialect feature tests
This doesn't make a difference, but the consistency with other files
is easier to reason about.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/GNU-C.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Compiler/GNU-C.cmake b/Modules/Compiler/GNU-C.cmake index 35954be..d678b68 100644 --- a/Modules/Compiler/GNU-C.cmake +++ b/Modules/Compiler/GNU-C.cmake @@ -21,12 +21,12 @@ macro(cmake_record_c_compile_features) endmacro() if (UNIX AND NOT APPLE AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.7) - _get_gcc_features(c90 CMAKE_C90_COMPILE_FEATURES) + _get_gcc_features(c11 CMAKE_C11_COMPILE_FEATURES) if (_result EQUAL 0) _get_gcc_features(c99 CMAKE_C99_COMPILE_FEATURES) endif() if (_result EQUAL 0) - _get_gcc_features(c11 CMAKE_C11_COMPILE_FEATURES) + _get_gcc_features(c90 CMAKE_C90_COMPILE_FEATURES) endif() else() set(_result 0) |