diff options
author | Raul Tambre <raul@tambre.ee> | 2021-02-06 16:25:47 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-02-25 16:22:29 (GMT) |
commit | 82239d43f8020cb50f03bf658e97c81afb611b9a (patch) | |
tree | 918b8e58ac624806776275f3cca55855fa17385f /Modules/Compiler/Clang-C.cmake | |
parent | 9024fb632eb236727d057f6d9f98e2b3b30df212 (diff) | |
download | CMake-82239d43f8020cb50f03bf658e97c81afb611b9a.zip CMake-82239d43f8020cb50f03bf658e97c81afb611b9a.tar.gz CMake-82239d43f8020cb50f03bf658e97c81afb611b9a.tar.bz2 |
Clang: C17 default version
Switched in LLVM commit 91cdbd521a38495c66e30636943563ca70d3c022, released in
Clang 11.
Issue: #17755
Diffstat (limited to 'Modules/Compiler/Clang-C.cmake')
-rw-r--r-- | Modules/Compiler/Clang-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-C.cmake b/Modules/Compiler/Clang-C.cmake index e620d7c..363a8c3 100644 --- a/Modules/Compiler/Clang-C.cmake +++ b/Modules/Compiler/Clang-C.cmake @@ -67,7 +67,7 @@ if(CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 3.0) endif() if(NOT "x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC") - __compiler_check_default_language_standard(C 2.1 99 3.5.2 11) + __compiler_check_default_language_standard(C 2.1 99 3.5.2 11 11.0 17) else() set(CMAKE_C_STANDARD_DEFAULT "") endif() |