diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-02-14 14:15:28 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-02-14 14:15:28 (GMT) |
commit | 9dc573798dc9d748c218999baac74561a331db02 (patch) | |
tree | d0c991801e64c3f45768d4c189d9c7198aaa0be9 /CMakeInstallation.cmake | |
parent | 863ff882b619e8d2c3ad3bdb659f14fa2e9d07d3 (diff) | |
download | hdf5-9dc573798dc9d748c218999baac74561a331db02.zip hdf5-9dc573798dc9d748c218999baac74561a331db02.tar.gz hdf5-9dc573798dc9d748c218999baac74561a331db02.tar.bz2 |
[svn-r24713] Update Windows VS version for README.txt
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r-- | CMakeInstallation.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake index 98c75c9..5ee7d7e 100644 --- a/CMakeInstallation.cmake +++ b/CMakeInstallation.cmake @@ -155,7 +155,13 @@ IF (WIN32) SET (BINARY_PLATFORM "${BINARY_PLATFORM} 8") ENDIF (${CMAKE_SYSTEM_VERSION} MATCHES "6.1") SET (BINARY_PLATFORM "${BINARY_PLATFORM} ${MSVC_C_ARCHITECTURE_ID}") - SET (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO ${CMAKE_C_COMPILER_VERSION}") + IF (${CMAKE_C_COMPILER_VERSION} MATCHES "16.*") + SET (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO 2010") + ELSEIF (${CMAKE_C_COMPILER_VERSION} MATCHES "17.*") + SET (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO 2012") + ELSE (${CMAKE_C_COMPILER_VERSION} MATCHES "16.*") + SET (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO ${CMAKE_C_COMPILER_VERSION}") + ENDIF (${CMAKE_C_COMPILER_VERSION} MATCHES "16.*") ELSEIF (APPLE) SET (BINARY_EXAMPLE_ENDING "tar.gz") SET (BINARY_INSTALL_ENDING "dmg") |