Browse Source

IRSL: Install msvcp${v}${d}_atomic_wait.dll if available with CRT

VS now distributes these additional runtime libraries.  Install them
if available.

Fixes: #21675
Kelly Walker 5 years ago
parent
commit
6718caaa2f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Modules/InstallRequiredSystemLibraries.cmake

+ 2 - 0
Modules/InstallRequiredSystemLibraries.cmake

@@ -291,6 +291,7 @@ if(MSVC)
         foreach(crt
             "${MSVC_CRT_DIR}/msvcp${v}_1.dll"
             "${MSVC_CRT_DIR}/msvcp${v}_2.dll"
+            "${MSVC_CRT_DIR}/msvcp${v}_atomic_wait.dll"
             "${MSVC_CRT_DIR}/msvcp${v}_codecvt_ids.dll"
             "${MSVC_CRT_DIR}/vcruntime${v}_1.dll"
             )
@@ -319,6 +320,7 @@ if(MSVC)
         foreach(crt
             "${MSVC_CRT_DIR}/msvcp${v}_1d.dll"
             "${MSVC_CRT_DIR}/msvcp${v}_2d.dll"
+            "${MSVC_CRT_DIR}/msvcp${v}d_atomic_wait.dll"
             "${MSVC_CRT_DIR}/msvcp${v}d_codecvt_ids.dll"
             "${MSVC_CRT_DIR}/vcruntime${v}_1d.dll"
             )