summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-10-31 14:46:11 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 19:06:12 -0400
commit44b9dd2e8076c703ad474a56a4bc1eb2a9d4529b (patch)
tree5d12bbcabf6d51fa99f73c9515d8185e75cfbe2c /indra/cmake
parent70a63ca331484575fbd6ffb432e40f6555bb8a51 (diff)
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.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/Copy3rdPartyLibs.cmake5
1 files changed, 4 insertions, 1 deletions
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)