From deef51d8a33bde0899152a97df40dfb6635cd567 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Thu, 20 Jun 2013 14:05:13 -0700 Subject: MSVC automatically installs MSVC runtime DLL's --- host/cmake/Modules/UHDPackage.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/cmake/Modules/UHDPackage.cmake') diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake index 67a6bc588..85cbea81e 100644 --- a/host/cmake/Modules/UHDPackage.cmake +++ b/host/cmake/Modules/UHDPackage.cmake @@ -198,5 +198,10 @@ SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " DeleteRegValue HKLM ${HLKM_ENV} \\\"UHD_PKG_DATA_PATH\\\" ") +IF(MSVC) + #Install necessary MSVC runtime DLL's + INCLUDE(InstallRequiredSystemLibraries) +ENDIF(MSVC) + ######################################################################## INCLUDE(CPack) #include after setting vars -- cgit v1.2.3