diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 0fe4e41c7..2a83863cf 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -75,6 +75,9 @@ function(prusaslicer_add_cmake_project projectname) if (MSVC) set(_gen CMAKE_GENERATOR "${DEP_MSVC_GEN}" CMAKE_GENERATOR_PLATFORM "${DEP_PLATFORM}") set(_build_j "/m") + if (${projectname} STREQUAL "OCCT") + set(_build_j "/m:1") + endif () endif () ExternalProject_Add(