Skip to content

Commit 8961cb0

Browse files
authored
Updated Corrade and Magnum to latest. (#2408)
1 parent d808de4 commit 8961cb0

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

src/cmake/FindGLFW.cmake

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ if(CORRADE_TARGET_WINDOWS)
8787
set(_GLFW_LIBRARY_PATH_SUFFIX lib-vc2017)
8888
elseif(MSVC_VERSION VERSION_LESS 1930)
8989
set(_GLFW_LIBRARY_PATH_SUFFIX lib-vc2019)
90-
elseif(MSVC_VERSION VERSION_LESS 1940)
90+
# MSVC 2022 17.10 overflowed the 1930 range to 1940, so assume a
91+
# hypothetical MSVC 2025 will start with 1950.
92+
elseif(MSVC_VERSION VERSION_LESS 1950)
9193
set(_GLFW_LIBRARY_PATH_SUFFIX lib-vc2022)
9294
else()
9395
message(FATAL_ERROR "Unsupported MSVC version")

src/deps/corrade

Submodule corrade updated 37 files

0 commit comments

Comments
 (0)