diff options
author | Kelly Walker <tyu@eridex.org> | 2021-01-14 15:44:16 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-15 10:41:17 -0500 |
commit | 6718caaa2f6070a70ccb2d7efe1652d27c9b4902 (patch) | |
tree | 11de0f4235ed5269269a85cc42fbde7c23b6c0a5 | |
parent | 19ff734e76a35d59eb0f973197cadb1c271c766c (diff) | |
download | cmake-6718caaa2f6070a70ccb2d7efe1652d27c9b4902.tar.gz |
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
-rw-r--r-- | Modules/InstallRequiredSystemLibraries.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index caca6977ba..29d1ec0e7e 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" ) |