Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2021-12-10 17:11:17 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2021-12-10 17:11:17 +0300
commit1376c9cffdb23351d35270ef5673ea98789dcaaf (patch)
treeaeb908e03e6b47fe9fa2e0a8a6fcdbacac2ccb90 /deps/deps-windows.cmake
parente3d5cd445c7ad74ceaa4e3872ec512a64cb074b8 (diff)
Updated deps-windows.cmake and Boost.cmake to be able to build dependencies using Visual Studio 2022
Diffstat (limited to 'deps/deps-windows.cmake')
-rw-r--r--deps/deps-windows.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/deps-windows.cmake b/deps/deps-windows.cmake
index 7288cfe6f..aba6fcab4 100644
--- a/deps/deps-windows.cmake
+++ b/deps/deps-windows.cmake
@@ -15,6 +15,10 @@ elseif (MSVC_VERSION LESS 1930)
# 1920-1929 = VS 16.0 (v142 toolset)
set(DEP_VS_VER "16")
set(DEP_BOOST_TOOLSET "msvc-14.2")
+elseif (MSVC_VERSION LESS 1940)
+# 1930-1939 = VS 17.0 (v143 toolset)
+ set(DEP_VS_VER "17")
+ set(DEP_BOOST_TOOLSET "msvc-14.3")
else ()
message(FATAL_ERROR "Unsupported MSVC version")
endif ()