From 26ab084d8cd1b2648643c0a659fe25d391d2c718 Mon Sep 17 00:00:00 2001 From: bakpaul Date: Tue, 20 Feb 2024 15:19:23 +0100 Subject: [PATCH] Fix ninja pool configuration --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aec2790..90db75f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,9 @@ if(image_FOUND) target_link_libraries(${PROJECT_NAME} PUBLIC image CGAL::CGAL_ImageIO) endif() -set_property(TARGET ${PROJECT_NAME} PROPERTY JOB_POOL_COMPILE 4) +set_property(GLOBAL PROPERTY JOB_POOLS one_jobs=1 two_jobs=2 three_jobs=3 four_jobs=4) +set_property(TARGET ${PROJECT_NAME} PROPERTY JOB_POOL_COMPILE four_jobs) + # Install rules for the library and the headers; CMake package configurations files sofa_create_package_with_targets(