Skip to content

Commit

Permalink
Fix number of jobs to one for CGAL (#20)
Browse files Browse the repository at this point in the history
* Fix number of jobs to one for CGAL

* Filter OS to only apply changes for Linux
  • Loading branch information
bakpaul committed Dec 18, 2024
1 parent 77cb8d0 commit b744412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ if(image_FOUND)
endif()

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)
if(UNIX AND NOT APPLE)
set_property(TARGET ${PROJECT_NAME} PROPERTY JOB_POOL_COMPILE one_jobs)
endif()



# Install rules for the library and the headers; CMake package configurations files
Expand Down

0 comments on commit b744412

Please sign in to comment.