summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-Clang-ASM.cmake
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2022-03-07 03:41:06 (GMT)
committerSaleem Abdulrasool <compnerd@compnerd.org>2022-04-18 04:13:44 (GMT)
commitb41fab928551d5a71af2c16b34f9683d872818b0 (patch)
tree6e31a55ef94cd888f91fc6c8e23cd7c77c59eb7b /Modules/Platform/Windows-Clang-ASM.cmake
parent993ba4b688ee11c10340953597a817cd98e24155 (diff)
downloadCMake-b41fab928551d5a71af2c16b34f9683d872818b0.zip
CMake-b41fab928551d5a71af2c16b34f9683d872818b0.tar.gz
CMake-b41fab928551d5a71af2c16b34f9683d872818b0.tar.bz2
Clang: populate MSVC runtime library abstraction table
!3211 overlooked populating the runtime library selection flags for clang-cl in MSVC compatibility mode. There is no flag that needs to be passed, but the value is expected to be available by the generators. We simply provide the empty string to appease the generators without emitting any additional flags. Fixes: #23048
Diffstat (limited to 'Modules/Platform/Windows-Clang-ASM.cmake')
-rw-r--r--Modules/Platform/Windows-Clang-ASM.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Clang-ASM.cmake b/Modules/Platform/Windows-Clang-ASM.cmake
index 345d77d..c22e3b0 100644
--- a/Modules/Platform/Windows-Clang-ASM.cmake
+++ b/Modules/Platform/Windows-Clang-ASM.cmake
@@ -1,2 +1,7 @@
include(Platform/Windows-Clang)
__windows_compiler_clang(ASM)
+
+set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreaded "")
+set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDLL "")
+set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebug "")
+set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL "")