Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmake/modules/RootCPack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ if(MSVC)
math(EXPR VS_VERSION "${VC_MAJOR} - 3")
elseif(MSVC_VERSION LESS 1950)
math(EXPR VS_VERSION "${VC_MAJOR} - 2")
elseif(MSVC_VERSION LESS 1960)
math(EXPR VS_VERSION "${VC_MAJOR} - 1")
else()
message(FATAL_ERROR "MSVC_VERSION ${MSVC_VERSION} not implemented")
endif()
Expand Down
2 changes: 2 additions & 0 deletions interpreter/cling/lib/Utils/PlatformWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ static int GetVisualStudioVersionCompiledWith() {
return 16;
#elif (_MSC_VER < 1950)
return 17;
#elif (_MSC_VER < 1960)
return 18;
#else
#error "Unsupported/Untested _MSC_VER"
// As of now this is what is should be...have fun!
Expand Down
Loading