summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-05-29 13:10:36 (GMT)
committerRaul Tambre <raul@tambre.ee>2021-09-28 18:24:53 (GMT)
commit2adfd95d793b516fdef2d02a60b9529f525f6374 (patch)
tree128d547fe177694d3818f34d63fb221cf3d89cd3 /Modules/CMakeDetermineCompilerId.cmake
parent00055d7779b04d27c98bcad1f6da7ffc5d7a09c0 (diff)
downloadCMake-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.cmake2
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()