Skip to content
Snippets Groups Projects
Commit b641485c authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

Add support for VS 2019 in CPack

parent a999cdf2
Branches
No related tags found
No related merge requests found
...@@ -56,6 +56,8 @@ if(MSVC) ...@@ -56,6 +56,8 @@ if(MSVC)
math(EXPR VS_VERSION "${VC_MAJOR} - 5") math(EXPR VS_VERSION "${VC_MAJOR} - 5")
elseif(MSVC_VERSION LESS 1919) elseif(MSVC_VERSION LESS 1919)
math(EXPR VS_VERSION "${VC_MAJOR} - 4") math(EXPR VS_VERSION "${VC_MAJOR} - 4")
elseif(MSVC_VERSION LESS 1925)
math(EXPR VS_VERSION "${VC_MAJOR} - 3")
endif() endif()
set(COMPILER_NAME_VERSION ".vc${VS_VERSION}") set(COMPILER_NAME_VERSION ".vc${VS_VERSION}")
else() else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment