From 2486a2363c761eed18b1d0808916b34e7b8c6b8e Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 29 Jul 2022 13:45:57 +0200 Subject: [PATCH] Try to reduce number of build threads only for OCCT --- deps/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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(