summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDACompilerId.cu.in
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/CMakeCUDACompilerId.cu.in
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/CMakeCUDACompilerId.cu.in')
-rw-r--r--Modules/CMakeCUDACompilerId.cu.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCUDACompilerId.cu.in b/Modules/CMakeCUDACompilerId.cu.in
index 91039e5..96cc8e6 100644
--- a/Modules/CMakeCUDACompilerId.cu.in
+++ b/Modules/CMakeCUDACompilerId.cu.in
@@ -16,7 +16,7 @@ char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
@CMAKE_CUDA_COMPILER_ID_PLATFORM_CONTENT@
@CMAKE_CUDA_COMPILER_ID_ERROR_FOR_TEST@
-const char* info_language_dialect_default = "INFO" ":" "dialect_default["
+const char* info_language_standard_default = "INFO" ":" "standard_default["
#if __cplusplus > 202002L
"23"
#elif __cplusplus > 201703L
@@ -48,7 +48,7 @@ int main(int argc, char* argv[])
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
- require += info_language_dialect_default[argc];
+ require += info_language_standard_default[argc];
(void)argv;
return require;
}