Skip to content

Commit

Permalink
Merge pull request SINTEF-Geometry#364 from sbriseid/vs2022_fix
Browse files Browse the repository at this point in the history
Fixed version issue for vs 2022.
  • Loading branch information
sbriseid authored Sep 23, 2024
2 parents d2d2137 + 61ccd0e commit 0a3b251
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compositemodel/cmake/Modules/FindPugiXML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(WIN32)
elseif((${MSVC_VERSION} GREATER_EQUAL 1920) AND (${MSVC_VERSION} LESS 1930))
# MESSAGE("Visual Studio 2019!")
set(MSVC_NAME "msvc2019_")
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1940))
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1950))
set(MSVC_NAME "msvc2022_")
else()
message("MSVC version not supported or not installed!")
Expand Down
2 changes: 1 addition & 1 deletion trivariatemodel/cmake/Modules/FindPugiXML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(WIN32)
elseif((${MSVC_VERSION} GREATER_EQUAL 1920) AND (${MSVC_VERSION} LESS 1930))
# MESSAGE("Visual Studio 2019!")
set(MSVC_NAME "msvc2019_")
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1940))
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1950))
set(MSVC_NAME "msvc2022_")
else()
message("MSVC version not supported or not installed!")
Expand Down
2 changes: 1 addition & 1 deletion viewlib/cmake/Modules/FindJsonCpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(WIN32)
elseif((${MSVC_VERSION} GREATER_EQUAL 1920) AND (${MSVC_VERSION} LESS 1930))
# MESSAGE("Visual Studio 2019!")
set(MSVC_NAME "msvc2019_")
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1940))
elseif((${MSVC_VERSION} GREATER_EQUAL 1930) AND (${MSVC_VERSION} LESS 1950))
set(MSVC_NAME "msvc2022_")
else()
message("MSVC version not supported or not installed!")
Expand Down

0 comments on commit 0a3b251

Please sign in to comment.