aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-17 15:48:58 -0700
committerAshish Chaudhari <ashish@ettus.com>2015-08-17 17:45:13 -0700
commit099c7d4eb46b51999c8a3769a6f3303cf907b5e9 (patch)
tree5a0dbc989339ed203e4d4ae0529ce6678035d2b1 /host/cmake
parent51355e1e35dceac6e732623409fe1bd1c813755b (diff)
downloaduhd-099c7d4eb46b51999c8a3769a6f3303cf907b5e9.tar.gz
uhd-099c7d4eb46b51999c8a3769a6f3303cf907b5e9.tar.bz2
uhd-099c7d4eb46b51999c8a3769a6f3303cf907b5e9.zip
cpack: set version string for MSVC 2015 packages
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDPackage.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake
index a17af9c61..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()