diff options
Diffstat (limited to 'linden/indra/cmake/CopyWinLibs.cmake')
-rw-r--r-- | linden/indra/cmake/CopyWinLibs.cmake | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake index 458b016..b3703b5 100644 --- a/linden/indra/cmake/CopyWinLibs.cmake +++ b/linden/indra/cmake/CopyWinLibs.cmake | |||
@@ -186,10 +186,9 @@ set(all_targets ${all_targets} ${out_targets}) | |||
186 | 186 | ||
187 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") | 187 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") |
188 | set(vivox_files | 188 | set(vivox_files |
189 | tntk.dll | 189 | SLVoice.exe |
190 | libeay32.dll | 190 | alut.dll |
191 | ssleay32.dll | 191 | vivoxsdk.dll |
192 | srtp.dll | ||
193 | ortp.dll | 192 | ortp.dll |
194 | wrap_oal.dll | 193 | wrap_oal.dll |
195 | ) | 194 | ) |
@@ -393,6 +392,37 @@ if (MSVC80) | |||
393 | [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/x86/Microsoft.VC80.CRT | 392 | [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/x86/Microsoft.VC80.CRT |
394 | ) | 393 | ) |
395 | 394 | ||
395 | # Copy MS C runtime dlls, required for packaging. | ||
396 | # *TODO - Adapt this to support VC9 | ||
397 | if (MSVC80) | ||
398 | FIND_PATH(debug_msvc8_redist_path msvcr80d.dll | ||
399 | PATHS | ||
400 | [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT | ||
401 | NO_DEFAULT_PATH | ||
402 | ) | ||
403 | |||
404 | if(EXISTS ${debug_msvc8_redist_path}) | ||
405 | set(debug_msvc8_files | ||
406 | msvcr80d.dll | ||
407 | msvcp80d.dll | ||
408 | Microsoft.VC80.DebugCRT.manifest | ||
409 | ) | ||
410 | |||
411 | copy_if_different( | ||
412 | ${debug_msvc8_redist_path} | ||
413 | "${CMAKE_CURRENT_BINARY_DIR}/Debug" | ||
414 | out_targets | ||
415 | ${debug_msvc8_files} | ||
416 | ) | ||
417 | set(all_targets ${all_targets} ${out_targets}) | ||
418 | endif (EXISTS ${debug_msvc8_redist_path}) | ||
419 | |||
420 | FIND_PATH(release_msvc8_redist_path msvcr80.dll | ||
421 | PATHS | ||
422 | [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/x86/Microsoft.VC80.CRT | ||
423 | NO_DEFAULT_PATH | ||
424 | ) | ||
425 | |||
396 | if(EXISTS ${release_msvc8_redist_path}) | 426 | if(EXISTS ${release_msvc8_redist_path}) |
397 | set(release_msvc8_files | 427 | set(release_msvc8_files |
398 | msvcr80.dll | 428 | msvcr80.dll |
@@ -419,4 +449,4 @@ if (MSVC80) | |||
419 | endif (EXISTS ${release_msvc8_redist_path}) | 449 | endif (EXISTS ${release_msvc8_redist_path}) |
420 | endif (MSVC80) | 450 | endif (MSVC80) |
421 | 451 | ||
422 | add_custom_target(copy_win_libs ALL DEPENDS ${all_targets}) \ No newline at end of file | 452 | add_custom_target(copy_win_libs ALL DEPENDS ${all_targets}) |