Skip to content

Commit

Permalink
Merge pull request #12 from bakpaul/fix_compilaiton_flag
Browse files Browse the repository at this point in the history
Fix ninja pool configuration
  • Loading branch information
hugtalbot authored Feb 20, 2024
2 parents cb2288d + 320ce23 commit c243e38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c243e38

Please sign in to comment.