diff options
author | scivision <scivision@users.noreply.github.com> | 2023-01-12 15:25:13 (GMT) |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2023-01-16 20:08:34 (GMT) |
commit | 42ca6416afeabd445bc6c19749e68604c9c2d733 (patch) | |
tree | 6712f4afff41589dc4d7f16f4018d87ac398f5d0 /Modules/Compiler/IntelLLVM-CXX.cmake | |
parent | 87d28dd804a51ffb980191dc18577bbb4331ee3d (diff) | |
download | CMake-42ca6416afeabd445bc6c19749e68604c9c2d733.zip CMake-42ca6416afeabd445bc6c19749e68604c9c2d733.tar.gz CMake-42ca6416afeabd445bc6c19749e68604c9c2d733.tar.bz2 |
IntelLLVM: Replace -Qstd= with -Qstd: on Windows
The latter is the documented form [1].
[1] https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/language-options/std-qstd.html
Diffstat (limited to 'Modules/Compiler/IntelLLVM-CXX.cmake')
-rw-r--r-- | Modules/Compiler/IntelLLVM-CXX.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/Compiler/IntelLLVM-CXX.cmake b/Modules/Compiler/IntelLLVM-CXX.cmake index 4d3f5a1..67e3b9c 100644 --- a/Modules/Compiler/IntelLLVM-CXX.cmake +++ b/Modules/Compiler/IntelLLVM-CXX.cmake @@ -53,14 +53,14 @@ else() set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "") set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "") - set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-Qstd=c++14") - set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-Qstd=c++14") + set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-Qstd:c++14") + set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-Qstd:c++14") - set(CMAKE_CXX17_STANDARD_COMPILE_OPTION "-Qstd=c++17") - set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-Qstd=c++17") + set(CMAKE_CXX17_STANDARD_COMPILE_OPTION "-Qstd:c++17") + set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-Qstd:c++17") - set(CMAKE_CXX20_STANDARD_COMPILE_OPTION "-Qstd=c++20") - set(CMAKE_CXX20_EXTENSION_COMPILE_OPTION "-Qstd=c++20") + set(CMAKE_CXX20_STANDARD_COMPILE_OPTION "-Qstd:c++20") + set(CMAKE_CXX20_EXTENSION_COMPILE_OPTION "-Qstd:c++20") endif() __compiler_check_default_language_standard(CXX 2020 14) |