summaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-06-20 14:05:13 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-06-20 14:05:13 -0700
commitdeef51d8a33bde0899152a97df40dfb6635cd567 (patch)
treec8d4ab56cbd8cb2861f98bec419a6a2faea65aff /host/cmake/Modules
parente40ac38dbf24b614ea56fc5ef893864342b415c3 (diff)
downloaduhd-deef51d8a33bde0899152a97df40dfb6635cd567.tar.gz
uhd-deef51d8a33bde0899152a97df40dfb6635cd567.tar.bz2
uhd-deef51d8a33bde0899152a97df40dfb6635cd567.zip
MSVC automatically installs MSVC runtime DLL's
Diffstat (limited to 'host/cmake/Modules')
-rw-r--r--host/cmake/Modules/UHDPackage.cmake5
1 files changed, 5 insertions, 0 deletions
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