OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Enable job pools for Ninja Multi-Config generators (#33415)
Arseniy Obolenskiy3ef8425ae122
diff --git a/CMakeLists.txt b/CMakeLists.txtindex d33dc7122ff..94ed7fa6b7b 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -146,7 +146,7 @@ endfunction()## Configure job pools (only for Ninja generators)-if(CMAKE_GENERATOR MATCHES "Ninja")+if(CMAKE_GENERATOR STREQUAL "Ninja" OR CMAKE_GENERATOR STREQUAL "Ninja Multi-Config")# Because we use Ninja generator, we can set the number of parallel# jobs separately for different tasks, like compiling and linking.# Especially useful on Windows, we avoid to be out of memory during linking stage that way.