aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDPackage.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake/Modules/UHDPackage.cmake')
-rw-r--r--host/cmake/Modules/UHDPackage.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake
index 298b9d33a..640935830 100644
--- a/host/cmake/Modules/UHDPackage.cmake
+++ b/host/cmake/Modules/UHDPackage.cmake
@@ -99,6 +99,8 @@ IF(${CPACK_GENERATOR} STREQUAL NSIS)
SET(MSVC_VERSION "VS2012")
ELSEIF(MSVC12) # Visual Studio 2013 (12.0)
SET(MSVC_VERSION "VS2013")
+ ELSEIF(MSVC14) # Visual Studio 2015 (14.0)
+ SET(MSVC_VERSION "VS2015")
ENDIF()
SET(CPACK_PACKAGE_FILE_NAME "uhd_${UHD_VERSION}_Win${BIT_WIDTH}_${MSVC_VERSION}")
ELSE()
@@ -210,10 +212,10 @@ SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "
DeleteRegValue HKLM ${HLKM_ENV} \\\"UHD_PKG_PATH\\\"
")
-IF(MSVC)
- #Install necessary MSVC runtime DLL's
+IF(WIN32)
+ #Install necessary runtime DLL's
INCLUDE(InstallRequiredSystemLibraries)
-ENDIF(MSVC)
+ENDIF(WIN32)
########################################################################
IF(NOT ${CPACK_GENERATOR} STREQUAL NSIS)