summaryrefslogtreecommitdiffstats
path: root/Modules/InstallRequiredSystemLibraries.cmake
diff options
context:
space:
mode:
authorKelly Walker <tyu@eridex.org>2021-01-14 20:44:16 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-15 15:41:17 (GMT)
commit6718caaa2f6070a70ccb2d7efe1652d27c9b4902 (patch)
tree11de0f4235ed5269269a85cc42fbde7c23b6c0a5 /Modules/InstallRequiredSystemLibraries.cmake
parent19ff734e76a35d59eb0f973197cadb1c271c766c (diff)
downloadCMake-6718caaa2f6070a70ccb2d7efe1652d27c9b4902.zip
CMake-6718caaa2f6070a70ccb2d7efe1652d27c9b4902.tar.gz
CMake-6718caaa2f6070a70ccb2d7efe1652d27c9b4902.tar.bz2
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
Diffstat (limited to 'Modules/InstallRequiredSystemLibraries.cmake')
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index caca697..29d1ec0 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/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"
)