ladybird/Meta/CMake/processor-count.cmake
davidot 3192cabc0e Meta: Read MAKEJOBS to limit jobs for ninja in serenity.sh
The default behavior of using all cores will still apply if no
MAKEJOBS variable is supplied.
2022-03-08 17:12:35 +01:00

3 lines
58 B
CMake

include(ProcessorCount)
ProcessorCount(N)
message("${N}")