diff options
author | Raul Tambre <raul@tambre.ee> | 2021-05-29 13:10:36 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-09-28 18:24:53 (GMT) |
commit | 2adfd95d793b516fdef2d02a60b9529f525f6374 (patch) | |
tree | 128d547fe177694d3818f34d63fb221cf3d89cd3 /Modules/CMakeDetermineCompilerId.cmake | |
parent | 00055d7779b04d27c98bcad1f6da7ffc5d7a09c0 (diff) | |
download | CMake-2adfd95d793b516fdef2d02a60b9529f525f6374.zip CMake-2adfd95d793b516fdef2d02a60b9529f525f6374.tar.gz CMake-2adfd95d793b516fdef2d02a60b9529f525f6374.tar.bz2 |
CompilerID: Rename language_dialect to language_standard
In Linux C++ terms dialect usually refers to having GNU extensions or not.
Change the name to better reflect that this is about the standard version.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index d54e2b0..904416f 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -881,7 +881,7 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file) if("${info}" MATCHES "INFO:qnxnto\\[\\]") set(COMPILER_QNXNTO 1) endif() - if("${info}" MATCHES "INFO:dialect_default\\[([^]\"]*)\\]") + if("${info}" MATCHES "INFO:standard_default\\[([^]\"]*)\\]") set(CMAKE_${lang}_STANDARD_COMPUTED_DEFAULT "${CMAKE_MATCH_1}") endif() endforeach() |