From 44b9dd2e8076c703ad474a56a4bc1eb2a9d4529b Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Thu, 31 Oct 2019 14:46:11 -0400 Subject: DRTVWR-476, SL-12205: Search for msvcp140.dll, not msvcr140.dll Evidently, with VS 2017, what would have been msvcr140.dll has become vcruntime140.dll instead. msvcr140.dll is no longer a good sample DLL for which to search. --- indra/cmake/Copy3rdPartyLibs.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'indra/cmake') diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index c3309b2195..d662103ef4 100644 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -94,7 +94,7 @@ if(WINDOWS) set(registry_find_path "[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;Directory]/System32") endif(ADDRESS_SIZE EQUAL 32) - FIND_PATH(release_msvc_redist_path NAME msvcr${MSVC_VER}.dll + FIND_PATH(release_msvc_redist_path NAME msvcp${MSVC_VER}.dll PATHS ${registry_find_path} NO_DEFAULT_PATH @@ -122,8 +122,11 @@ if(WINDOWS) ${release_msvc_files} ) set(third_party_targets ${third_party_targets} ${out_targets}) + MESSAGE(STATUS "Copied ${third_party_targets}") unset(release_msvc_redist_path CACHE) + else() + MESSAGE(SEND_ERROR "Redist libs for VC ${MSVC_VER} not found!") endif() elseif(DARWIN) -- cgit v1.2.3